#1F189B#1F189B
#1F189B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.196 H 271.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F189B |
|---|---|
| RGB | rgb(31, 24, 155) |
| HSL | hsl(243, 73%, 35%) |
| HSV | hsv(243, 85%, 61%) |
| CMYK | cmyk(80%, 84.5%, 0%, 39.2%) |
| CIE-LAB | lab(21.25, 47.08, -67.75) |
| CIE-LCH | lch(21.25, 82.51, 304.80°) |
| OKLab | oklab(34.19% 0.0049 -0.196) |
| OKLCH | oklch(34.19% 0.196 271.4) |
| XYZ | xyz(6.8061, 3.3104, 31.2842) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.71
Cobalt Blue
#030AA7
ΔE00 2.47
Royal Blue (survey)
#0504AA
ΔE00 3.02
Ultramarine
#2000B1
ΔE00 3.67
Indigo Blue
#3A18B1
ΔE00 4.13
Darkblue
#00008B
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F189B #949B18
analogous
#18539B #1F189B #60189B
triadic
#1F189B #9B1F18 #189B1F
tetradic
#1F189B #9B1853 #949B18 #189B60
square
#1F189B #9B1853 #949B18 #189B60
split-complementary
#1F189B #9B6018 #539B18
monochromatic
#0A0831 #141066 #1F189B #2A20D0 #534AE3
Accessibility & contrast
On white
12.63
#1F189B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1F189B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F189B
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F189B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F189B | 1.00 | 12.63 | 1.66 | 12.63 |
| #FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00399F
Deuteranopia (green-blind)
#002C99
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1f189b; /* rgb */ color: rgb(31, 24, 155); /* oklch */ color: oklch(34.2% 0.196 271.4);
Tailwind
colors: {
custom: {
50: '#735aba',
500: '#1f189b',
950: '#000000',
},
}SCSS
$custom: #1f189b; $custom-light: #735aba; $custom-dark: #000000;
JSON
{
"hex": "#1f189b",
"rgb": {
"r": 31,
"g": 24,
"b": 155
},
"hsl": {
"h": 243.206,
"s": 73.184,
"l": 35.098
},
"oklch": {
"l": 0.34189,
"c": 0.19611,
"h": 271.4
},
"luminance": 0.03311
}Semantic roles & 50–950 ramp
primary
#1F189B
secondary
#BEC54A
accent
#F038E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981