#1F4493#1F4493
#1F4493 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.137 H 262.9°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4493 |
|---|---|
| RGB | rgb(31, 68, 147) |
| HSL | hsl(221, 65%, 35%) |
| HSV | hsv(221, 79%, 58%) |
| CMYK | cmyk(78.9%, 53.7%, 0%, 42.4%) |
| CIE-LAB | lab(30.71, 16.82, -47.31) |
| CIE-LCH | lch(30.71, 50.21, 289.57°) |
| OKLab | oklab(40.86% -0.0169 -0.1363) |
| OKLCH | oklch(40.86% 0.137 262.9) |
| XYZ | xyz(7.8968, 6.5312, 28.4426) |
| Luminance | 0.0653 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.84
Cobalt
#0047AB
ΔE00 3.33
Darkish Blue
#014182
ΔE00 3.74
Twilight Blue
#0A437A
ΔE00 4.73
Dusk Blue
#26538D
ΔE00 5.51
Prussian Blue
#004577
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4493 #936E1F
analogous
#1F7E93 #1F4493 #341F93
triadic
#1F4493 #931F44 #44931F
tetradic
#1F4493 #931F7E #936E1F #1F9334
square
#1F4493 #931F7E #936E1F #1F9334
split-complementary
#1F4493 #93341F #7E931F
monochromatic
#0A152E #142D60 #1F4493 #2A5BC6 #527DDA
Accessibility & contrast
On white
9.11
#1F4493 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#1F4493 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4493
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4493 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4493 | 1.00 | 9.11 | 2.31 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A4E96
Deuteranopia (green-blind)
#004391
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4493; /* rgb */ color: rgb(31, 68, 147); /* oklch */ color: oklch(40.9% 0.137 262.9);
Tailwind
colors: {
custom: {
50: '#6d77b3',
500: '#1f4493',
950: '#000000',
},
}SCSS
$custom: #1f4493; $custom-light: #6d77b3; $custom-dark: #000000;
JSON
{
"hex": "#1f4493",
"rgb": {
"r": 31,
"g": 68,
"b": 147
},
"hsl": {
"h": 220.862,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.40856,
"c": 0.13732,
"h": 262.9
},
"luminance": 0.06532
}Semantic roles & 50–950 ramp
primary
#1F4493
secondary
#BE9B50
accent
#B240E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80