#12274B#12274B
#12274B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.7% C 0.072 H 260.4°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).
Color values
| HEX | #12274B |
|---|---|
| RGB | rgb(18, 39, 75) |
| HSL | hsl(218, 61%, 18%) |
| HSV | hsv(218, 76%, 29%) |
| CMYK | cmyk(76%, 48%, 0%, 70.6%) |
| CIE-LAB | lab(15.94, 5.78, -24.82) |
| CIE-LCH | lch(15.94, 25.49, 283.11°) |
| OKLab | oklab(27.71% -0.0119 -0.0709) |
| OKLCH | oklch(27.71% 0.072 260.4) |
| XYZ | xyz(2.2445, 2.0874, 6.9399) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.79
Marine
#042E60
ΔE00 4.31
Navy (survey)
#01153E
ΔE00 5.88
Marine Blue
#01386A
ΔE00 7.33
Navy Blue (survey)
#001146
ΔE00 7.77
Dark
#1B2431
ΔE00 8.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12274B #4B3612
analogous
#12434B #12274B #19124B
triadic
#12274B #4B1227 #274B12
tetradic
#12274B #4B1243 #4B3612 #124B19
square
#12274B #4B1243 #4B3612 #124B19
split-complementary
#12274B #4B1912 #434B12
monochromatic
#060D19 #060D1A #12274B #1E417C #2A5AAE
Accessibility & contrast
On white
14.81
#12274B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#12274B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12274B
14.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12274B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12274B | 1.00 | 14.81 | 1.42 | 14.81 |
| #FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#162A4C
Deuteranopia (green-blind)
#0C254A
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #12274b; /* rgb */ color: rgb(18, 39, 75); /* oklch */ color: oklch(27.7% 0.072 260.4);
Tailwind
colors: {
custom: {
50: '#58607d',
500: '#12274b',
950: '#000000',
},
}SCSS
$custom: #12274b; $custom-light: #58607d; $custom-dark: #000000;
JSON
{
"hex": "#12274b",
"rgb": {
"r": 18,
"g": 39,
"b": 75
},
"hsl": {
"h": 217.895,
"s": 61.29,
"l": 18.235
},
"oklch": {
"l": 0.27714,
"c": 0.07193,
"h": 260.4
},
"luminance": 0.02088
}Semantic roles & 50–950 ramp
primary
#12274B
secondary
#846735
accent
#A943E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C