#1A236B#1A236B
#1A236B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.124 H 271.2°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1A236B |
|---|---|
| RGB | rgb(26, 35, 107) |
| HSL | hsl(233, 61%, 26%) |
| HSV | hsv(233, 76%, 42%) |
| CMYK | cmyk(75.7%, 67.3%, 0%, 58%) |
| CIE-LAB | lab(17.84, 23.29, -43.06) |
| CIE-LCH | lch(17.84, 48.95, 298.40°) |
| OKLab | oklab(30.1% 0.0025 -0.1244) |
| OKLCH | oklch(30.1% 0.124 271.2) |
| XYZ | xyz(3.6800, 2.4828, 14.1924) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.52
Marine
#042E60
ΔE00 6.81
Darkblue (survey)
#030764
ΔE00 7.20
Navy Blue (survey)
#001146
ΔE00 7.23
Dark Royal Blue
#02066F
ΔE00 7.47
Royal
#0C1793
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A236B #6B621A
analogous
#1A4B6B #1A236B #391A6B
triadic
#1A236B #6B1A23 #236B1A
tetradic
#1A236B #6B1A4B #6B621A #1A6B39
square
#1A236B #6B1A4B #6B621A #1A6B39
split-complementary
#1A236B #6B391A #4B6B1A
monochromatic
#060819 #0E133A #1A236B #26339C #3243CD
Accessibility & contrast
On white
14.03
#1A236B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1A236B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A236B
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A236B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A236B | 1.00 | 14.03 | 1.50 | 14.03 |
| #FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1a236b; /* rgb */ color: rgb(26, 35, 107); /* oklch */ color: oklch(30.1% 0.124 271.2);
Tailwind
colors: {
custom: {
50: '#645d96',
500: '#1a236b',
950: '#000000',
},
}SCSS
$custom: #1a236b; $custom-light: #645d96; $custom-dark: #000000;
JSON
{
"hex": "#1a236b",
"rgb": {
"r": 26,
"g": 35,
"b": 107
},
"hsl": {
"h": 233.333,
"s": 60.902,
"l": 26.078
},
"oklch": {
"l": 0.30103,
"c": 0.12443,
"h": 271.2
},
"luminance": 0.02483
}Semantic roles & 50–950 ramp
primary
#1A236B
secondary
#A09640
accent
#D244E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E