#1F306C#1F306C
#1F306C is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.107 H 268.2°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F306C |
|---|---|
| RGB | rgb(31, 48, 108) |
| HSL | hsl(227, 55%, 27%) |
| HSV | hsv(227, 71%, 42%) |
| CMYK | cmyk(71.3%, 55.6%, 0%, 57.6%) |
| CIE-LAB | lab(21.90, 15.19, -37.09) |
| CIE-LCH | lch(21.90, 40.08, 292.27°) |
| OKLab | oklab(33.23% -0.0034 -0.1066) |
| OKLCH | oklch(33.23% 0.107 268.2) |
| XYZ | xyz(4.3279, 3.4875, 14.6295) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.00
Marine Blue
#01386A
ΔE00 5.92
Navy Blue
#1B2A4A
ΔE00 6.50
Darkish Blue
#014182
ΔE00 7.63
Midnight Blue
#191970
ΔE00 7.81
Twilight Blue
#0A437A
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F306C #6C5B1F
analogous
#1F576C #1F306C #341F6C
triadic
#1F306C #6C1F30 #306C1F
tetradic
#1F306C #6C1F57 #6C5B1F #1F6C34
square
#1F306C #6C1F57 #6C5B1F #1F6C34
split-complementary
#1F306C #6C341F #576C1F
monochromatic
#070B18 #111B3C #1F306C #2D459C #3E5CC8
Accessibility & contrast
On white
12.37
#1F306C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#1F306C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F306C
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F306C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F306C | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08386E
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f306c; /* rgb */ color: rgb(31, 48, 108); /* oklch */ color: oklch(33.2% 0.107 268.2);
Tailwind
colors: {
custom: {
50: '#656797',
500: '#1f306c',
950: '#000000',
},
}SCSS
$custom: #1f306c; $custom-light: #656797; $custom-dark: #000000;
JSON
{
"hex": "#1f306c",
"rgb": {
"r": 31,
"g": 48,
"b": 108
},
"hsl": {
"h": 226.753,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.33233,
"c": 0.10663,
"h": 268.2
},
"luminance": 0.03488
}Semantic roles & 50–950 ramp
primary
#1F306C
secondary
#A08C47
accent
#BE49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E