#1F4A92#1F4A92
#1F4A92 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.1% C 0.128 H 260.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4A92 |
|---|---|
| RGB | rgb(31, 74, 146) |
| HSL | hsl(218, 65%, 35%) |
| HSV | hsv(218, 79%, 57%) |
| CMYK | cmyk(78.8%, 49.3%, 0%, 42.7%) |
| CIE-LAB | lab(32.40, 12.32, -43.98) |
| CIE-LCH | lch(32.40, 45.67, 285.65°) |
| OKLab | oklab(42.12% -0.022 -0.1263) |
| OKLCH | oklch(42.12% 0.128 260.1) |
| XYZ | xyz(8.2003, 7.2632, 28.1583) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.71
Dusk Blue
#26538D
ΔE00 3.30
Cobalt
#0047AB
ΔE00 3.53
Darkish Blue
#014182
ΔE00 3.72
Twilight Blue
#0A437A
ΔE00 4.20
Light Navy
#155084
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4A92 #92671F
analogous
#1F8492 #1F4A92 #2D1F92
triadic
#1F4A92 #921F4A #4A921F
tetradic
#1F4A92 #921F84 #92671F #1F922D
square
#1F4A92 #921F84 #92671F #1F922D
split-complementary
#1F4A92 #922D1F #84921F
monochromatic
#0A172D #143060 #1F4A92 #2A64C4 #5184DA
Accessibility & contrast
On white
8.56
#1F4A92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#1F4A92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4A92
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4A92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4A92 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215295
Deuteranopia (green-blind)
#004791
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4a92; /* rgb */ color: rgb(31, 74, 146); /* oklch */ color: oklch(42.1% 0.128 260.1);
Tailwind
colors: {
custom: {
50: '#6d7bb2',
500: '#1f4a92',
950: '#000000',
},
}SCSS
$custom: #1f4a92; $custom-light: #6d7bb2; $custom-dark: #000000;
JSON
{
"hex": "#1f4a92",
"rgb": {
"r": 31,
"g": 74,
"b": 146
},
"hsl": {
"h": 217.565,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.42119,
"c": 0.12825,
"h": 260.1
},
"luminance": 0.07264
}Semantic roles & 50–950 ramp
primary
#1F4A92
secondary
#BD9450
accent
#A940E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80