#1F4192#1F4192
#1F4192 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.140 H 264.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4192 |
|---|---|
| RGB | rgb(31, 65, 146) |
| HSL | hsl(222, 65%, 35%) |
| HSV | hsv(222, 79%, 57%) |
| CMYK | cmyk(78.8%, 55.5%, 0%, 42.7%) |
| CIE-LAB | lab(29.78, 18.48, -48.21) |
| CIE-LCH | lch(29.78, 51.63, 290.97°) |
| OKLab | oklab(40.12% -0.0147 -0.139) |
| OKLCH | oklch(40.12% 0.14 264) |
| XYZ | xyz(7.6418, 6.1464, 27.9722) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.83
Cobalt
#0047AB
ΔE00 3.85
Darkish Blue
#014182
ΔE00 4.05
Twilight Blue
#0A437A
ΔE00 5.15
Sapphire (survey)
#2138AB
ΔE00 5.48
Blueberry
#464196
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4192 #92701F
analogous
#1F7B92 #1F4192 #371F92
triadic
#1F4192 #921F41 #41921F
tetradic
#1F4192 #921F7B #92701F #1F9237
square
#1F4192 #921F7B #92701F #1F9237
split-complementary
#1F4192 #92371F #7B921F
monochromatic
#0A142D #142B60 #1F4192 #2A57C4 #517ADA
Accessibility & contrast
On white
9.42
#1F4192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1F4192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4192
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4192 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f4192; /* rgb */ color: rgb(31, 65, 146); /* oklch */ color: oklch(40.1% 0.140 264.0);
Tailwind
colors: {
custom: {
50: '#6d75b3',
500: '#1f4192',
950: '#000000',
},
}SCSS
$custom: #1f4192; $custom-light: #6d75b3; $custom-dark: #000000;
JSON
{
"hex": "#1f4192",
"rgb": {
"r": 31,
"g": 65,
"b": 146
},
"hsl": {
"h": 222.261,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.40122,
"c": 0.13977,
"h": 264
},
"luminance": 0.06147
}Semantic roles & 50–950 ramp
primary
#1F4192
secondary
#BD9D50
accent
#B640E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80