最接近的命名颜色 · #03065A
#03065A
最接近的命名颜色: Ravenclaw
#03065A(rgb(3 6 90)、hsl(238 94% 18%)、oklch(0.222 0.139 265.9))最接近命名颜色 Ravenclaw。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#03065A
oklch(0.222 0.139 265.9)
颜色转换
- HEX
- #03065a
- RGB
- rgb(3 6 90)
- HSL
- hsl(238 94% 18%)
- HWB
- hwb(238 1% 65%)
- OKLCH
- oklch(0.222 0.139 265.9)
- OKLab
- oklab(0.222 -0.01 -0.139)
- CIE Lab
- lab(6.96 27.83 -49.61)
- LCH
- lch(6.96 56.88 299.3)
- CMYK
- cmyk(97% 93% 0% 65%)
浅色调 · 深色调 · 灰色调
浅色调
- 10256B
- 253D7C
- 3D548D
- 566B9E
- 7083AE
- 8B9BBE
- A7B3CF
- C3CCDF
- E1E5EF
深色调
- 02044D
- 020341
- 010235
- 010129
- 00011E
- 000013
- 000009
- 000003
- 000000
灰色调
- 08195F
- 122664
- 1F3368
- 2B3E6D
- 394971
- 465474
- 545F78
- 636A7B
- 71757E
配色和谐
互补色 +180°
- 03065A
Ravenclaw
- 241900
≈ Cannon Black
类似色 -30° +30°
- 03065A
Ravenclaw
- 001E2E
≈ Cyanophobia
- 23004B
≈ Your Darkness
三角配色 +120° +240°
- 03065A
Ravenclaw
- 3B0003
≈ Dark Maroon
- 002305
≈ Rainforest Nights
分裂互补色 +150° +210°
- 03065A
Ravenclaw
- 2D1300
≈ Shadow Play
- 1A1E00
≈ Yuzu Soy
四角配色 +90° +180° +270°
对比度与无障碍
Ag
AAA白底
WCAG 17.83:1 · APCA Lc 104
Ag
Fail黑底
WCAG 1.17:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 17.83:1 (AAA) · APCA Lc 104
Contrast pairs
代码片段
CSS
:root {
--ravenclaw: #03065a;
--ravenclaw-rgb: 3 6 90;
--ravenclaw-oklch: oklch(0.222 0.139 265.9);
}
.element {
color: var(--ravenclaw);
background-color: hsl(238 94% 18%);
border-color: oklch(0.222 0.139 265.9);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #03065a;
--color-ravenclaw-50: #e4f5ff;
--color-ravenclaw-100: #d4e7ff;
--color-ravenclaw-200: #bbd3ff;
--color-ravenclaw-300: #99b5ff;
--color-ravenclaw-400: #779bf1;
--color-ravenclaw-500: #5a80e2;
--color-ravenclaw-600: #4d6dbe;
--color-ravenclaw-700: #3d5799;
--color-ravenclaw-800: #294072;
--color-ravenclaw-900: #1b2c51;
--color-ravenclaw-950: #0c1936;
}SCSS
$ravenclaw: #03065a;
$ravenclaw-rgb: 3, 6, 90;
$ravenclaw-light: mix(#fff, $ravenclaw, 20%);
$ravenclaw-dark: mix(#000, $ravenclaw, 20%);
.element {
color: $ravenclaw;
box-shadow: 0 0 0 2px rgba($ravenclaw, 0.35);
}