#1F3C95#1F3C95
#1F3C95 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.150 H 265.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3C95 |
|---|---|
| RGB | rgb(31, 60, 149) |
| HSL | hsl(225, 66%, 35%) |
| HSV | hsv(225, 79%, 58%) |
| CMYK | cmyk(79.2%, 59.7%, 0%, 41.6%) |
| CIE-LAB | lab(28.62, 23.11, -51.93) |
| CIE-LCH | lch(28.62, 56.84, 293.99°) |
| OKLab | oklab(39.33% -0.0109 -0.15) |
| OKLCH | oklch(39.33% 0.15 265.9) |
| XYZ | xyz(7.6038, 5.6921, 29.1259) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.91
Cobalt
#0047AB
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 4.78
Darkish Blue
#014182
ΔE00 5.52
Blueberry
#464196
ΔE00 5.66
Twilight Blue
#0A437A
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3C95 #95781F
analogous
#1F7795 #1F3C95 #3D1F95
triadic
#1F3C95 #951F3C #3C951F
tetradic
#1F3C95 #951F77 #95781F #1F953D
square
#1F3C95 #951F77 #95781F #1F953D
split-complementary
#1F3C95 #953D1F #77951F
monochromatic
#0A1330 #142862 #1F3C95 #2A50C8 #5375DB
Accessibility & contrast
On white
9.82
#1F3C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#1F3C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3C95
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3C95 | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f3c95; /* rgb */ color: rgb(31, 60, 149); /* oklch */ color: oklch(39.3% 0.150 265.9);
Tailwind
colors: {
custom: {
50: '#6e71b5',
500: '#1f3c95',
950: '#000000',
},
}SCSS
$custom: #1f3c95; $custom-light: #6e71b5; $custom-dark: #000000;
JSON
{
"hex": "#1f3c95",
"rgb": {
"r": 31,
"g": 60,
"b": 149
},
"hsl": {
"h": 225.254,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.39327,
"c": 0.1504,
"h": 265.9
},
"luminance": 0.05693
}Semantic roles & 50–950 ramp
primary
#1F3C95
secondary
#BFA451
accent
#BF3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80