#12326B#12326B
#12326B is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.107 H 260.9°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #12326B |
|---|---|
| RGB | rgb(18, 50, 107) |
| HSL | hsl(218, 71%, 25%) |
| HSV | hsv(218, 83%, 42%) |
| CMYK | cmyk(83.2%, 53.3%, 0%, 58%) |
| CIE-LAB | lab(21.84, 11.44, -36.57) |
| CIE-LCH | lch(21.84, 38.32, 287.37°) |
| OKLab | oklab(33% -0.0168 -0.1053) |
| OKLCH | oklch(33% 0.107 260.9) |
| XYZ | xyz(4.0429, 3.4709, 14.3639) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.20
Marine Blue
#01386A
ΔE00 3.60
Darkish Blue
#014182
ΔE00 5.89
Twilight Blue
#0A437A
ΔE00 6.37
Navy Blue
#1B2A4A
ΔE00 6.43
Prussian Blue
#004577
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12326B #6B4B12
analogous
#125F6B #12326B #1F126B
triadic
#12326B #6B1232 #326B12
tetradic
#12326B #6B125F #6B4B12 #126B1F
square
#12326B #6B125F #6B4B12 #126B1F
split-complementary
#12326B #6B1F12 #5F6B12
monochromatic
#040C1A #091A37 #12326B #1B4A9F #2463D4
Accessibility & contrast
On white
12.40
#12326B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#12326B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12326B
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12326B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12326B | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E396D
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #12326b; /* rgb */ color: rgb(18, 50, 107); /* oklch */ color: oklch(33.0% 0.107 260.9);
Tailwind
colors: {
custom: {
50: '#606996',
500: '#12326b',
950: '#000000',
},
}SCSS
$custom: #12326b; $custom-light: #606996; $custom-dark: #000000;
JSON
{
"hex": "#12326b",
"rgb": {
"r": 18,
"g": 50,
"b": 107
},
"hsl": {
"h": 218.427,
"s": 71.2,
"l": 24.51
},
"oklch": {
"l": 0.32999,
"c": 0.10661,
"h": 260.9
},
"luminance": 0.03471
}Semantic roles & 50–950 ramp
primary
#12326B
secondary
#A27C36
accent
#AD3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E