#1F3FAE#1F3FAE
#1F3FAE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.181 H 266.0°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3FAE |
|---|---|
| RGB | rgb(31, 63, 174) |
| HSL | hsl(227, 70%, 40%) |
| HSV | hsv(227, 82%, 68%) |
| CMYK | cmyk(82.2%, 63.8%, 0%, 31.8%) |
| CIE-LAB | lab(31.58, 30.80, -62.20) |
| CIE-LCH | lch(31.58, 69.41, 296.34°) |
| OKLab | oklab(42.2% -0.0125 -0.1801) |
| OKLCH | oklch(42.2% 0.181 266) |
| XYZ | xyz(9.9799, 6.9011, 40.8423) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.20
Blue Blue
#2242C7
ΔE00 3.53
Cobalt
#0047AB
ΔE00 3.86
Blueberry
#464196
ΔE00 6.02
Ocean Blue
#4F42B5
ΔE00 6.05
Blue (survey)
#0343DF
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3FAE #AE8E1F
analogous
#1F87AE #1F3FAE #461FAE
triadic
#1F3FAE #AE1F3F #3FAE1F
tetradic
#1F3FAE #AE1F87 #AE8E1F #1FAE46
square
#1F3FAE #AE1F87 #AE8E1F #1FAE46
split-complementary
#1F3FAE #AE461F #87AE1F
monochromatic
#0C1946 #162C7A #1F3FAE #3056DA #6481E3
Accessibility & contrast
On white
8.82
#1F3FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#1F3FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3FAE
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3FAE | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f3fae; /* rgb */ color: rgb(31, 63, 174); /* oklch */ color: oklch(42.2% 0.181 266.0);
Tailwind
colors: {
custom: {
50: '#7573c7',
500: '#1f3fae',
950: '#000000',
},
}SCSS
$custom: #1f3fae; $custom-light: #7573c7; $custom-dark: #000000;
JSON
{
"hex": "#1f3fae",
"rgb": {
"r": 31,
"g": 63,
"b": 174
},
"hsl": {
"h": 226.573,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.42198,
"c": 0.18051,
"h": 266
},
"luminance": 0.06902
}Semantic roles & 50–950 ramp
primary
#1F3FAE
secondary
#C8B160
accent
#C53BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82