#1F4492#1F4492
#1F4492 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.136 H 262.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4492 |
|---|---|
| RGB | rgb(31, 68, 146) |
| HSL | hsl(221, 65%, 35%) |
| HSV | hsv(221, 79%, 57%) |
| CMYK | cmyk(78.8%, 53.4%, 0%, 42.7%) |
| CIE-LAB | lab(30.64, 16.42, -46.82) |
| CIE-LCH | lch(30.64, 49.61, 289.32°) |
| OKLab | oklab(40.78% -0.017 -0.1348) |
| OKLCH | oklch(40.78% 0.136 262.8) |
| XYZ | xyz(7.8186, 6.5000, 28.0311) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.75
Cobalt
#0047AB
ΔE00 3.45
Darkish Blue
#014182
ΔE00 3.62
Twilight Blue
#0A437A
ΔE00 4.60
Dusk Blue
#26538D
ΔE00 5.46
Prussian Blue
#004577
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4492 #926D1F
analogous
#1F7D92 #1F4492 #341F92
triadic
#1F4492 #921F44 #44921F
tetradic
#1F4492 #921F7D #926D1F #1F9234
square
#1F4492 #921F7D #926D1F #1F9234
split-complementary
#1F4492 #92341F #7D921F
monochromatic
#0A152D #142C60 #1F4492 #2A5CC4 #517DDA
Accessibility & contrast
On white
9.13
#1F4492 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F4492 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4492
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4492 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4492 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D4E95
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4492; /* rgb */ color: rgb(31, 68, 146); /* oklch */ color: oklch(40.8% 0.136 262.8);
Tailwind
colors: {
custom: {
50: '#6d77b3',
500: '#1f4492',
950: '#000000',
},
}SCSS
$custom: #1f4492; $custom-light: #6d77b3; $custom-dark: #000000;
JSON
{
"hex": "#1f4492",
"rgb": {
"r": 31,
"g": 68,
"b": 146
},
"hsl": {
"h": 220.696,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.40776,
"c": 0.1359,
"h": 262.8
},
"luminance": 0.06501
}Semantic roles & 50–950 ramp
primary
#1F4492
secondary
#BD9A50
accent
#B240E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80