#1A128C#1A128C
#1A128C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.4% C 0.184 H 271.2°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1A128C |
|---|---|
| RGB | rgb(26, 18, 140) |
| HSL | hsl(244, 77%, 31%) |
| HSV | hsv(244, 87%, 55%) |
| CMYK | cmyk(81.4%, 87.1%, 0%, 45.1%) |
| CIE-LAB | lab(18.12, 44.84, -63.66) |
| CIE-LCH | lch(18.12, 77.86, 305.16°) |
| OKLab | oklab(31.41% 0.0038 -0.1842) |
| OKLCH | oklch(31.41% 0.184 271.2) |
| XYZ | xyz(5.3743, 2.5451, 25.0139) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.54
Darkblue
#00008B
ΔE00 2.78
Navy
#000080
ΔE00 3.54
Cobalt Blue
#030AA7
ΔE00 3.63
Royal Blue (survey)
#0504AA
ΔE00 4.10
Indigo (survey)
#380282
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A128C #848C12
analogous
#12478C #1A128C #57128C
triadic
#1A128C #8C1A12 #128C1A
tetradic
#1A128C #8C1247 #848C12 #128C57
square
#1A128C #8C1247 #848C12 #128C57
split-complementary
#1A128C #8C5712 #478C12
monochromatic
#060420 #100B56 #1A128C #2419C2 #3F34E5
Accessibility & contrast
On white
13.91
#1A128C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1A128C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A128C
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A128C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A128C | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00328F
Deuteranopia (green-blind)
#00268A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1a128c; /* rgb */ color: rgb(26, 18, 140); /* oklch */ color: oklch(31.4% 0.184 271.2);
Tailwind
colors: {
custom: {
50: '#6e55af',
500: '#1a128c',
950: '#000000',
},
}SCSS
$custom: #1a128c; $custom-light: #6e55af; $custom-dark: #000000;
JSON
{
"hex": "#1a128c",
"rgb": {
"r": 26,
"g": 18,
"b": 140
},
"hsl": {
"h": 243.934,
"s": 77.215,
"l": 30.98
},
"oklch": {
"l": 0.3141,
"c": 0.1842,
"h": 271.2
},
"luminance": 0.02546
}Semantic roles & 50–950 ramp
primary
#1A128C
secondary
#B8C039
accent
#F434E7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880