#1F306F#1F306F
#1F306F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.111 H 268.4°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1F306F |
|---|---|
| RGB | rgb(31, 48, 111) |
| HSL | hsl(227, 56%, 28%) |
| HSV | hsv(227, 72%, 44%) |
| CMYK | cmyk(72.1%, 56.8%, 0%, 56.5%) |
| CIE-LAB | lab(22.13, 16.38, -38.65) |
| CIE-LCH | lch(22.13, 41.98, 292.97°) |
| OKLab | oklab(33.48% -0.0031 -0.1112) |
| OKLCH | oklch(33.48% 0.111 268.4) |
| XYZ | xyz(4.4903, 3.5525, 15.4849) |
| Luminance | 0.0355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.30
Marine Blue
#01386A
ΔE00 6.06
Navy Blue
#1B2A4A
ΔE00 6.98
Midnight Blue
#191970
ΔE00 7.53
Darkish Blue
#014182
ΔE00 7.56
Darkslateblue
#483D8B
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F306F #6F5E1F
analogous
#1F586F #1F306F #361F6F
triadic
#1F306F #6F1F30 #306F1F
tetradic
#1F306F #6F1F58 #6F5E1F #1F6F36
square
#1F306F #6F1F58 #6F5E1F #1F6F36
split-complementary
#1F306F #6F361F #586F1F
monochromatic
#070A18 #121B3F #1F306F #2C459F #3F5CC9
Accessibility & contrast
On white
12.28
#1F306F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1F306F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F306F
12.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F306F | 1.00 | 12.28 | 1.71 | 12.28 |
| #FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#023971
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1f306f; /* rgb */ color: rgb(31, 48, 111); /* oklch */ color: oklch(33.5% 0.111 268.4);
Tailwind
colors: {
custom: {
50: '#666799',
500: '#1f306f',
950: '#000000',
},
}SCSS
$custom: #1f306f; $custom-light: #666799; $custom-dark: #000000;
JSON
{
"hex": "#1f306f",
"rgb": {
"r": 31,
"g": 48,
"b": 111
},
"hsl": {
"h": 227.25,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.33484,
"c": 0.1112,
"h": 268.4
},
"luminance": 0.03553
}Semantic roles & 50–950 ramp
primary
#1F306F
secondary
#A38F47
accent
#BF48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E