#1F3D95#1F3D95
#1F3D95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.149 H 265.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3D95 |
|---|---|
| RGB | rgb(31, 61, 149) |
| HSL | hsl(225, 66%, 35%) |
| HSV | hsv(225, 79%, 58%) |
| CMYK | cmyk(79.2%, 59.1%, 0%, 41.6%) |
| CIE-LAB | lab(28.90, 22.42, -51.48) |
| CIE-LCH | lch(28.90, 56.15, 293.53°) |
| OKLab | oklab(39.53% -0.0116 -0.1487) |
| OKLCH | oklch(39.53% 0.149 265.6) |
| XYZ | xyz(7.6567, 5.7978, 29.1435) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.11
Cobalt (survey)
#1E488F
ΔE00 4.44
Cobalt
#0047AB
ΔE00 4.49
Darkish Blue
#014182
ΔE00 5.27
Blueberry
#464196
ΔE00 5.72
Twilight Blue
#0A437A
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3D95 #95771F
analogous
#1F7895 #1F3D95 #3C1F95
triadic
#1F3D95 #951F3D #3D951F
tetradic
#1F3D95 #951F78 #95771F #1F953C
square
#1F3D95 #951F78 #95771F #1F953C
split-complementary
#1F3D95 #953C1F #78951F
monochromatic
#0A1430 #142862 #1F3D95 #2A52C8 #5376DB
Accessibility & contrast
On white
9.72
#1F3D95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#1F3D95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3D95
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3D95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3D95 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1f3d95; /* rgb */ color: rgb(31, 61, 149); /* oklch */ color: oklch(39.5% 0.149 265.6);
Tailwind
colors: {
custom: {
50: '#6e72b5',
500: '#1f3d95',
950: '#000000',
},
}SCSS
$custom: #1f3d95; $custom-light: #6e72b5; $custom-dark: #000000;
JSON
{
"hex": "#1f3d95",
"rgb": {
"r": 31,
"g": 61,
"b": 149
},
"hsl": {
"h": 224.746,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.39533,
"c": 0.14913,
"h": 265.6
},
"luminance": 0.05799
}Semantic roles & 50–950 ramp
primary
#1F3D95
secondary
#BFA351
accent
#BD3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80