#1F3D96#1F3D96
#1F3D96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.151 H 265.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3D96 |
|---|---|
| RGB | rgb(31, 61, 150) |
| HSL | hsl(225, 66%, 35%) |
| HSV | hsv(225, 79%, 59%) |
| CMYK | cmyk(79.3%, 59.3%, 0%, 41.2%) |
| CIE-LAB | lab(28.98, 22.82, -51.96) |
| CIE-LCH | lch(28.98, 56.75, 293.71°) |
| OKLab | oklab(39.62% -0.0115 -0.1501) |
| OKLCH | oklch(39.62% 0.151 265.6) |
| XYZ | xyz(7.7369, 5.8299, 29.5658) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.96
Cobalt
#0047AB
ΔE00 4.44
Cobalt (survey)
#1E488F
ΔE00 4.51
Darkish Blue
#014182
ΔE00 5.38
Blueberry
#464196
ΔE00 5.68
Twilight Blue
#0A437A
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3D96 #96781F
analogous
#1F7896 #1F3D96 #3C1F96
triadic
#1F3D96 #961F3D #3D961F
tetradic
#1F3D96 #961F78 #96781F #1F963C
square
#1F3D96 #961F78 #96781F #1F963C
split-complementary
#1F3D96 #963C1F #78961F
monochromatic
#0A1431 #152863 #1F3D96 #2952C9 #5476DC
Accessibility & contrast
On white
9.69
#1F3D96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#1F3D96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3D96
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3D96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3D96 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f3d96; /* rgb */ color: rgb(31, 61, 150); /* oklch */ color: oklch(39.6% 0.151 265.6);
Tailwind
colors: {
custom: {
50: '#6f72b6',
500: '#1f3d96',
950: '#000000',
},
}SCSS
$custom: #1f3d96; $custom-light: #6f72b6; $custom-dark: #000000;
JSON
{
"hex": "#1f3d96",
"rgb": {
"r": 31,
"g": 61,
"b": 150
},
"hsl": {
"h": 224.874,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.39621,
"c": 0.15052,
"h": 265.6
},
"luminance": 0.05831
}Semantic roles & 50–950 ramp
primary
#1F3D96
secondary
#BFA352
accent
#BE3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80