#1F247A#1F247A
#1F247A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.143 H 272.5°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1F247A |
|---|---|
| RGB | rgb(31, 36, 122) |
| HSL | hsl(237, 59%, 30%) |
| HSV | hsv(237, 75%, 48%) |
| CMYK | cmyk(74.6%, 70.5%, 0%, 52.2%) |
| CIE-LAB | lab(19.87, 28.99, -49.38) |
| CIE-LCH | lch(19.87, 57.26, 300.42°) |
| OKLab | oklab(32.12% 0.0063 -0.1428) |
| OKLCH | oklch(32.12% 0.143 272.5) |
| XYZ | xyz(4.7076, 2.9577, 18.7314) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.09
Royal
#0C1793
ΔE00 5.28
Dark Royal Blue
#02066F
ΔE00 6.98
Darkblue (survey)
#030764
ΔE00 7.33
Deep Blue
#040273
ΔE00 7.52
Navy
#000080
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F247A #7A751F
analogous
#1F527A #1F247A #471F7A
triadic
#1F247A #7A1F24 #247A1F
tetradic
#1F247A #7A1F52 #7A751F #1F7A47
square
#1F247A #7A1F52 #7A751F #1F7A47
split-complementary
#1F247A #7A471F #527A1F
monochromatic
#060718 #131649 #1F247A #2B32AB #444CCF
Accessibility & contrast
On white
13.19
#1F247A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1F247A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F247A
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F247A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F247A | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1f247a; /* rgb */ color: rgb(31, 36, 122); /* oklch */ color: oklch(32.1% 0.143 272.5);
Tailwind
colors: {
custom: {
50: '#6a5fa1',
500: '#1f247a',
950: '#000000',
},
}SCSS
$custom: #1f247a; $custom-light: #6a5fa1; $custom-dark: #000000;
JSON
{
"hex": "#1f247a",
"rgb": {
"r": 31,
"g": 36,
"b": 122
},
"hsl": {
"h": 236.703,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.32118,
"c": 0.14291,
"h": 272.5
},
"luminance": 0.02958
}Semantic roles & 50–950 ramp
primary
#1F247A
secondary
#ADA847
accent
#DA45E3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F