#1F3CA8#1F3CA8
#1F3CA8 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.176 H 266.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3CA8 |
|---|---|
| RGB | rgb(31, 60, 168) |
| HSL | hsl(227, 69%, 39%) |
| HSV | hsv(227, 82%, 66%) |
| CMYK | cmyk(81.5%, 64.3%, 0%, 34.1%) |
| CIE-LAB | lab(30.28, 30.49, -60.75) |
| CIE-LCH | lch(30.28, 67.97, 296.65°) |
| OKLab | oklab(41.07% -0.0108 -0.1758) |
| OKLCH | oklch(41.07% 0.176 266.5) |
| XYZ | xyz(9.2463, 6.3491, 37.7764) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.48
Blue Blue
#2242C7
ΔE00 4.49
Cobalt
#0047AB
ΔE00 4.51
Blueberry
#464196
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 6.37
Cobalt (survey)
#1E488F
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3CA8 #A88B1F
analogous
#1F81A8 #1F3CA8 #471FA8
triadic
#1F3CA8 #A81F3C #3CA81F
tetradic
#1F3CA8 #A81F81 #A88B1F #1FA847
square
#1F3CA8 #A81F81 #A88B1F #1FA847
split-complementary
#1F3CA8 #A8471F #81A81F
monochromatic
#0C1741 #152A74 #1F3CA8 #2C51D8 #607BE2
Accessibility & contrast
On white
9.25
#1F3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1F3CA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3CA8
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3CA8 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f3ca8; /* rgb */ color: rgb(31, 60, 168); /* oklch */ color: oklch(41.1% 0.176 266.5);
Tailwind
colors: {
custom: {
50: '#7371c3',
500: '#1f3ca8',
950: '#000000',
},
}SCSS
$custom: #1f3ca8; $custom-light: #7371c3; $custom-dark: #000000;
JSON
{
"hex": "#1f3ca8",
"rgb": {
"r": 31,
"g": 60,
"b": 168
},
"hsl": {
"h": 227.299,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.41069,
"c": 0.17618,
"h": 266.5
},
"luminance": 0.0635
}Semantic roles & 50–950 ramp
primary
#1F3CA8
secondary
#C6B05D
accent
#C73CEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82