#1F246F#1F246F
#1F246F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.127 H 273.3°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F246F |
|---|---|
| RGB | rgb(31, 36, 111) |
| HSL | hsl(236, 56%, 28%) |
| HSV | hsv(236, 72%, 44%) |
| CMYK | cmyk(72.1%, 67.6%, 0%, 56.5%) |
| CIE-LAB | lab(18.80, 24.84, -44.07) |
| CIE-LCH | lch(18.80, 50.59, 299.40°) |
| OKLab | oklab(31.01% 0.0074 -0.1272) |
| OKLCH | oklch(31.01% 0.127 273.3) |
| XYZ | xyz(4.0642, 2.7004, 15.3429) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.29
Royal
#0C1793
ΔE00 7.02
Darkblue (survey)
#030764
ΔE00 7.30
Marine
#042E60
ΔE00 7.36
Dark Royal Blue
#02066F
ΔE00 7.40
Dark Indigo
#1F0954
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F246F #6F6A1F
analogous
#1F4C6F #1F246F #421F6F
triadic
#1F246F #6F1F24 #246F1F
tetradic
#1F246F #6F1F4C #6F6A1F #1F6F42
square
#1F246F #6F1F4C #6F6A1F #1F6F42
split-complementary
#1F246F #6F421F #4C6F1F
monochromatic
#070818 #12143F #1F246F #2C349F #3F48C9
Accessibility & contrast
On white
13.63
#1F246F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1F246F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F246F
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F246F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F246F | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1f246f; /* rgb */ color: rgb(31, 36, 111); /* oklch */ color: oklch(31.0% 0.127 273.3);
Tailwind
colors: {
custom: {
50: '#675e99',
500: '#1f246f',
950: '#000000',
},
}SCSS
$custom: #1f246f; $custom-light: #675e99; $custom-dark: #000000;
JSON
{
"hex": "#1f246f",
"rgb": {
"r": 31,
"g": 36,
"b": 111
},
"hsl": {
"h": 236.25,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.31009,
"c": 0.12745,
"h": 273.3
},
"luminance": 0.02701
}Semantic roles & 50–950 ramp
primary
#1F246F
secondary
#A39D47
accent
#D648E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E