#1F2F6A#1F2F6A
#1F2F6A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.105 H 268.6°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F6A |
|---|---|
| RGB | rgb(31, 47, 106) |
| HSL | hsl(227, 55%, 27%) |
| HSV | hsv(227, 71%, 42%) |
| CMYK | cmyk(70.8%, 55.7%, 0%, 58.4%) |
| CIE-LAB | lab(21.45, 15.10, -36.53) |
| CIE-LCH | lch(21.45, 39.53, 292.47°) |
| OKLab | oklab(32.84% -0.0026 -0.1049) |
| OKLCH | oklch(32.84% 0.105 268.6) |
| XYZ | xyz(4.1822, 3.3645, 14.0619) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.01
Marine Blue
#01386A
ΔE00 6.16
Navy Blue
#1B2A4A
ΔE00 6.24
Midnight Blue
#191970
ΔE00 7.65
Darkish Blue
#014182
ΔE00 8.01
Twilight Blue
#0A437A
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F6A #6A5A1F
analogous
#1F556A #1F2F6A #351F6A
triadic
#1F2F6A #6A1F2F #2F6A1F
tetradic
#1F2F6A #6A1F55 #6A5A1F #1F6A35
square
#1F2F6A #6A1F55 #6A5A1F #1F6A35
split-complementary
#1F2F6A #6A351F #556A1F
monochromatic
#070A18 #111A3B #1F2F6A #2D4499 #3D5AC6
Accessibility & contrast
On white
12.55
#1F2F6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1F2F6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F6A
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F6A | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08376C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1f2f6a; /* rgb */ color: rgb(31, 47, 106); /* oklch */ color: oklch(32.8% 0.105 268.6);
Tailwind
colors: {
custom: {
50: '#656795',
500: '#1f2f6a',
950: '#000000',
},
}SCSS
$custom: #1f2f6a; $custom-light: #656795; $custom-dark: #000000;
JSON
{
"hex": "#1f2f6a",
"rgb": {
"r": 31,
"g": 47,
"b": 106
},
"hsl": {
"h": 227.2,
"s": 54.745,
"l": 26.863
},
"oklch": {
"l": 0.32843,
"c": 0.10496,
"h": 268.6
},
"luminance": 0.03365
}Semantic roles & 50–950 ramp
primary
#1F2F6A
secondary
#9E8C47
accent
#BE4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E