#1A128F#1A128F
#1A128F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.8% C 0.188 H 270.9°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1A128F |
|---|---|
| RGB | rgb(26, 18, 143) |
| HSL | hsl(244, 78%, 32%) |
| HSV | hsv(244, 87%, 56%) |
| CMYK | cmyk(81.8%, 87.4%, 0%, 43.9%) |
| CIE-LAB | lab(18.52, 45.76, -64.88) |
| CIE-LCH | lch(18.52, 79.39, 305.20°) |
| OKLab | oklab(31.79% 0.003 -0.1877) |
| OKLCH | oklch(31.79% 0.188 270.9) |
| XYZ | xyz(5.5986, 2.6348, 26.1948) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.34
Darkblue
#00008B
ΔE00 2.86
Cobalt Blue
#030AA7
ΔE00 3.23
Royal Blue (survey)
#0504AA
ΔE00 3.70
Navy
#000080
ΔE00 3.78
Indigo (survey)
#380282
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A128F #878F12
analogous
#12498F #1A128F #59128F
triadic
#1A128F #8F1A12 #128F1A
tetradic
#1A128F #8F1249 #878F12 #128F59
square
#1A128F #8F1249 #878F12 #128F59
split-complementary
#1A128F #8F5912 #498F12
monochromatic
#060422 #100B59 #1A128F #2419C5 #4136E6
Accessibility & contrast
On white
13.75
#1A128F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1A128F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A128F
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A128F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A128F | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1a128f; /* rgb */ color: rgb(26, 18, 143); /* oklch */ color: oklch(31.8% 0.188 270.9);
Tailwind
colors: {
custom: {
50: '#6f55b1',
500: '#1a128f',
950: '#000000',
},
}SCSS
$custom: #1a128f; $custom-light: #6f55b1; $custom-dark: #000000;
JSON
{
"hex": "#1a128f",
"rgb": {
"r": 26,
"g": 18,
"b": 143
},
"hsl": {
"h": 243.84,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.31794,
"c": 0.1877,
"h": 270.9
},
"luminance": 0.02635
}Semantic roles & 50–950 ramp
primary
#1A128F
secondary
#BAC33A
accent
#F434E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880