#1A2B8F#1A2B8F
#1A2B8F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.164 H 268.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2B8F |
|---|---|
| RGB | rgb(26, 43, 143) |
| HSL | hsl(231, 69%, 33%) |
| HSV | hsv(231, 82%, 56%) |
| CMYK | cmyk(81.8%, 69.9%, 0%, 43.9%) |
| CIE-LAB | lab(23.44, 31.78, -56.73) |
| CIE-LCH | lch(23.44, 65.03, 299.26°) |
| OKLab | oklab(35.27% -0.005 -0.1643) |
| OKLCH | oklch(35.27% 0.164 268.3) |
| XYZ | xyz(6.2461, 3.9298, 26.4106) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.07
Sapphire (survey)
#2138AB
ΔE00 5.09
Midnight Blue
#191970
ΔE00 6.26
Cobalt Blue
#030AA7
ΔE00 7.37
Blueberry
#464196
ΔE00 7.61
Darkslateblue
#483D8B
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2B8F #8F7E1A
analogous
#1A658F #1A2B8F #431A8F
triadic
#1A2B8F #8F1A2B #2B8F1A
tetradic
#1A2B8F #8F1A65 #8F7E1A #1A8F43
square
#1A2B8F #8F1A65 #8F7E1A #1A8F43
split-complementary
#1A2B8F #8F431A #658F1A
monochromatic
#070C27 #111B5B #1A2B8F #233BC3 #465CDD
Accessibility & contrast
On white
11.76
#1A2B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#1A2B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2B8F
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2B8F | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1a2b8f; /* rgb */ color: rgb(26, 43, 143); /* oklch */ color: oklch(35.3% 0.164 268.3);
Tailwind
colors: {
custom: {
50: '#6d64b1',
500: '#1a2b8f',
950: '#000000',
},
}SCSS
$custom: #1a2b8f; $custom-light: #6d64b1; $custom-dark: #000000;
JSON
{
"hex": "#1a2b8f",
"rgb": {
"r": 26,
"g": 43,
"b": 143
},
"hsl": {
"h": 231.282,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.35274,
"c": 0.16441,
"h": 268.3
},
"luminance": 0.03931
}Semantic roles & 50–950 ramp
primary
#1A2B8F
secondary
#BFAD46
accent
#D23CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80