#1F3F93#1F3F93
#1F3F93 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.144 H 264.8°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3F93 |
|---|---|
| RGB | rgb(31, 63, 147) |
| HSL | hsl(223, 65%, 35%) |
| HSV | hsv(223, 79%, 58%) |
| CMYK | cmyk(78.9%, 57.1%, 0%, 42.4%) |
| CIE-LAB | lab(29.29, 20.26, -49.62) |
| CIE-LCH | lch(29.29, 53.59, 292.21°) |
| OKLab | oklab(39.78% -0.0131 -0.1432) |
| OKLCH | oklch(39.78% 0.144 264.8) |
| XYZ | xyz(7.6072, 5.9520, 28.3460) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.61
Cobalt
#0047AB
ΔE00 4.16
Darkish Blue
#014182
ΔE00 4.58
Sapphire (survey)
#2138AB
ΔE00 4.85
Twilight Blue
#0A437A
ΔE00 5.71
Blueberry
#464196
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3F93 #93731F
analogous
#1F7993 #1F3F93 #391F93
triadic
#1F3F93 #931F3F #3F931F
tetradic
#1F3F93 #931F79 #93731F #1F9339
square
#1F3F93 #931F79 #93731F #1F9339
split-complementary
#1F3F93 #93391F #79931F
monochromatic
#0A142E #142960 #1F3F93 #2A55C6 #5278DA
Accessibility & contrast
On white
9.59
#1F3F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#1F3F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3F93
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3F93 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f3f93; /* rgb */ color: rgb(31, 63, 147); /* oklch */ color: oklch(39.8% 0.144 264.8);
Tailwind
colors: {
custom: {
50: '#6e73b3',
500: '#1f3f93',
950: '#000000',
},
}SCSS
$custom: #1f3f93; $custom-light: #6e73b3; $custom-dark: #000000;
JSON
{
"hex": "#1f3f93",
"rgb": {
"r": 31,
"g": 63,
"b": 147
},
"hsl": {
"h": 223.448,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.39779,
"c": 0.14376,
"h": 264.8
},
"luminance": 0.05953
}Semantic roles & 50–950 ramp
primary
#1F3F93
secondary
#BE9F50
accent
#BA40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80