#1B2F6F#1B2F6F
#1B2F6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.114 H 266.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F6F |
|---|---|
| RGB | rgb(27, 47, 111) |
| HSL | hsl(226, 61%, 27%) |
| HSV | hsv(226, 76%, 44%) |
| CMYK | cmyk(75.7%, 57.7%, 0%, 56.5%) |
| CIE-LAB | lab(21.63, 16.48, -39.48) |
| CIE-LCH | lch(21.63, 42.78, 292.65°) |
| OKLab | oklab(33.05% -0.0062 -0.1137) |
| OKLCH | oklch(33.05% 0.114 266.9) |
| XYZ | xyz(4.3368, 3.4133, 15.4661) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.98
Marine Blue
#01386A
ΔE00 5.86
Navy Blue
#1B2A4A
ΔE00 6.99
Midnight Blue
#191970
ΔE00 7.39
Darkish Blue
#014182
ΔE00 7.48
Twilight Blue
#0A437A
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F6F #6F5B1B
analogous
#1B596F #1B2F6F #311B6F
triadic
#1B2F6F #6F1B2F #2F6F1B
tetradic
#1B2F6F #6F1B59 #6F5B1B #1B6F31
square
#1B2F6F #6F1B59 #6F5B1B #1B6F31
split-complementary
#1B2F6F #6F311B #596F1B
monochromatic
#060A19 #0F1A3E #1B2F6F #2744A0 #365ACE
Accessibility & contrast
On white
12.48
#1B2F6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1B2F6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F6F
12.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F6F | 1.00 | 12.48 | 1.68 | 12.48 |
| #FFFFFF | 12.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1b2f6f; /* rgb */ color: rgb(27, 47, 111); /* oklch */ color: oklch(33.0% 0.114 266.9);
Tailwind
colors: {
custom: {
50: '#646799',
500: '#1b2f6f',
950: '#000000',
},
}SCSS
$custom: #1b2f6f; $custom-light: #646799; $custom-dark: #000000;
JSON
{
"hex": "#1b2f6f",
"rgb": {
"r": 27,
"g": 47,
"b": 111
},
"hsl": {
"h": 225.714,
"s": 60.87,
"l": 27.059
},
"oklch": {
"l": 0.33046,
"c": 0.11387,
"h": 266.9
},
"luminance": 0.03414
}Semantic roles & 50–950 ramp
primary
#1B2F6F
secondary
#A48D42
accent
#BE44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E