#1C267F#1C267F
#1C267F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.148 H 270.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1C267F |
|---|---|
| RGB | rgb(28, 38, 127) |
| HSL | hsl(234, 64%, 30%) |
| HSV | hsv(234, 78%, 50%) |
| CMYK | cmyk(78%, 70.1%, 0%, 50.2%) |
| CIE-LAB | lab(20.69, 29.21, -51.22) |
| CIE-LCH | lch(20.69, 58.96, 299.69°) |
| OKLab | oklab(32.82% 0.0011 -0.1482) |
| OKLCH | oklch(32.82% 0.148 270.4) |
| XYZ | xyz(5.0015, 3.1649, 20.4218) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.91
Royal
#0C1793
ΔE00 5.09
Dark Royal Blue
#02066F
ΔE00 7.56
Sapphire (survey)
#2138AB
ΔE00 7.62
Darkblue
#00008B
ΔE00 7.92
Cobalt Blue
#030AA7
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C267F #7F751C
analogous
#1C587F #1C267F #431C7F
triadic
#1C267F #7F1C26 #267F1C
tetradic
#1C267F #7F1C58 #7F751C #1C7F43
square
#1C267F #7F1C58 #7F751C #1C7F43
split-complementary
#1C267F #7F431C #587F1C
monochromatic
#06081B #11174D #1C267F #2735B1 #404FD5
Accessibility & contrast
On white
12.86
#1C267F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1C267F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C267F
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C267F | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1c267f; /* rgb */ color: rgb(28, 38, 127); /* oklch */ color: oklch(32.8% 0.148 270.4);
Tailwind
colors: {
custom: {
50: '#6a60a5',
500: '#1c267f',
950: '#000000',
},
}SCSS
$custom: #1c267f; $custom-light: #6a60a5; $custom-dark: #000000;
JSON
{
"hex": "#1c267f",
"rgb": {
"r": 28,
"g": 38,
"b": 127
},
"hsl": {
"h": 233.939,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.32817,
"c": 0.14821,
"h": 270.4
},
"luminance": 0.03165
}Semantic roles & 50–950 ramp
primary
#1C267F
secondary
#B3A744
accent
#D641E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F