#1F247C#1F247C
#1F247C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.146 H 272.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #1F247C |
|---|---|
| RGB | rgb(31, 36, 124) |
| HSL | hsl(237, 60%, 30%) |
| HSV | hsv(237, 75%, 49%) |
| CMYK | cmyk(75%, 71%, 0%, 51.4%) |
| CIE-LAB | lab(20.08, 29.74, -50.32) |
| CIE-LCH | lch(20.08, 58.45, 300.58°) |
| OKLab | oklab(32.32% 0.0061 -0.1455) |
| OKLCH | oklch(32.32% 0.146 272.4) |
| XYZ | xyz(4.8328, 3.0078, 19.3907) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.19
Royal
#0C1793
ΔE00 5.00
Dark Royal Blue
#02066F
ΔE00 6.97
Darkblue (survey)
#030764
ΔE00 7.40
Deep Blue
#040273
ΔE00 7.47
Navy
#000080
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F247C #7C771F
analogous
#1F527C #1F247C #481F7C
triadic
#1F247C #7C1F24 #247C1F
tetradic
#1F247C #7C1F52 #7C771F #1F7C48
square
#1F247C #7C1F52 #7C771F #1F7C48
split-complementary
#1F247C #7C481F #527C1F
monochromatic
#07081A #13164B #1F247C #2B32AD #454CD0
Accessibility & contrast
On white
13.11
#1F247C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1F247C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F247C
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F247C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F247C | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1f247c; /* rgb */ color: rgb(31, 36, 124); /* oklch */ color: oklch(32.3% 0.146 272.4);
Tailwind
colors: {
custom: {
50: '#6a5fa3',
500: '#1f247c',
950: '#000000',
},
}SCSS
$custom: #1f247c; $custom-light: #6a5fa3; $custom-dark: #000000;
JSON
{
"hex": "#1f247c",
"rgb": {
"r": 31,
"g": 36,
"b": 124
},
"hsl": {
"h": 236.774,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.32324,
"c": 0.14566,
"h": 272.4
},
"luminance": 0.03008
}Semantic roles & 50–950 ramp
primary
#1F247C
secondary
#AFAA48
accent
#DB45E3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F