#1A398C#1A398C
#1A398C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.143 H 264.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1A398C |
|---|---|
| RGB | rgb(26, 57, 140) |
| HSL | hsl(224, 69%, 33%) |
| HSV | hsv(224, 81%, 55%) |
| CMYK | cmyk(81.4%, 59.3%, 0%, 45.1%) |
| CIE-LAB | lab(26.84, 21.06, -49.30) |
| CIE-LCH | lch(26.84, 53.61, 293.13°) |
| OKLab | oklab(37.71% -0.0131 -0.1424) |
| OKLCH | oklch(37.71% 0.143 264.7) |
| XYZ | xyz(6.6211, 5.0385, 25.4294) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.04
Darkish Blue
#014182
ΔE00 5.07
Cobalt (survey)
#1E488F
ΔE00 5.18
Cobalt
#0047AB
ΔE00 5.89
Twilight Blue
#0A437A
ΔE00 6.23
Marine Blue
#01386A
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A398C #8C6D1A
analogous
#1A728C #1A398C #341A8C
triadic
#1A398C #8C1A39 #398C1A
tetradic
#1A398C #8C1A72 #8C6D1A #1A8C34
square
#1A398C #8C1A72 #8C6D1A #1A8C34
split-complementary
#1A398C #8C341A #728C1A
monochromatic
#070F25 #102458 #1A398C #244EC0 #446DDC
Accessibility & contrast
On white
10.46
#1A398C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#1A398C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A398C
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A398C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A398C | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1a398c; /* rgb */ color: rgb(26, 57, 140); /* oklch */ color: oklch(37.7% 0.143 264.7);
Tailwind
colors: {
custom: {
50: '#6b6eae',
500: '#1a398c',
950: '#000000',
},
}SCSS
$custom: #1a398c; $custom-light: #6b6eae; $custom-dark: #000000;
JSON
{
"hex": "#1a398c",
"rgb": {
"r": 26,
"g": 57,
"b": 140
},
"hsl": {
"h": 223.684,
"s": 68.675,
"l": 32.549
},
"oklch": {
"l": 0.37706,
"c": 0.14301,
"h": 264.7
},
"luminance": 0.05039
}Semantic roles & 50–950 ramp
primary
#1A398C
secondary
#BE9D44
accent
#BC3CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F