#12266E#12266E
#12266E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.127 H 266.5°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #12266E |
|---|---|
| RGB | rgb(18, 38, 110) |
| HSL | hsl(227, 72%, 25%) |
| HSV | hsv(227, 84%, 43%) |
| CMYK | cmyk(83.6%, 65.5%, 0%, 56.9%) |
| CIE-LAB | lab(18.54, 21.42, -43.88) |
| CIE-LCH | lch(18.54, 48.83, 296.02°) |
| OKLab | oklab(30.6% -0.0077 -0.1269) |
| OKLCH | oklch(30.6% 0.127 266.5) |
| XYZ | xyz(3.7561, 2.6402, 15.0605) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.69
Marine
#042E60
ΔE00 5.48
Navy Blue
#1B2A4A
ΔE00 7.86
Royal
#0C1793
ΔE00 7.87
Navy Blue (survey)
#001146
ΔE00 7.92
Marine Blue
#01386A
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12266E #6E5A12
analogous
#12546E #12266E #2C126E
triadic
#12266E #6E1226 #266E12
tetradic
#12266E #6E1254 #6E5A12 #126E2C
square
#12266E #6E1254 #6E5A12 #126E2C
split-complementary
#12266E #6E2C12 #546E12
monochromatic
#04091A #091439 #12266E #1B38A3 #234AD7
Accessibility & contrast
On white
13.74
#12266E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#12266E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12266E
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12266E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12266E | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #12266e; /* rgb */ color: rgb(18, 38, 110); /* oklch */ color: oklch(30.6% 0.127 266.5);
Tailwind
colors: {
custom: {
50: '#626098',
500: '#12266e',
950: '#000000',
},
}SCSS
$custom: #12266e; $custom-light: #626098; $custom-dark: #000000;
JSON
{
"hex": "#12266e",
"rgb": {
"r": 18,
"g": 38,
"b": 110
},
"hsl": {
"h": 226.957,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.30596,
"c": 0.12719,
"h": 266.5
},
"luminance": 0.02641
}Semantic roles & 50–950 ramp
primary
#12266E
secondary
#A58D37
accent
#C739EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E