#1B2B6F#1B2B6F
#1B2B6F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.119 H 268.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2B6F |
|---|---|
| RGB | rgb(27, 43, 111) |
| HSL | hsl(229, 61%, 27%) |
| HSV | hsv(229, 76%, 44%) |
| CMYK | cmyk(75.7%, 61.3%, 0%, 56.5%) |
| CIE-LAB | lab(20.47, 19.34, -41.36) |
| CIE-LCH | lch(20.47, 45.66, 295.06°) |
| OKLab | oklab(32.18% -0.0028 -0.1193) |
| OKLCH | oklch(32.18% 0.119 268.6) |
| XYZ | xyz(4.1841, 3.1080, 15.4152) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.93
Midnight Blue
#191970
ΔE00 5.91
Marine Blue
#01386A
ΔE00 7.17
Navy Blue
#1B2A4A
ΔE00 7.39
Darkslateblue
#483D8B
ΔE00 8.56
Royal
#0C1793
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2B6F #6F5F1B
analogous
#1B556F #1B2B6F #351B6F
triadic
#1B2B6F #6F1B2B #2B6F1B
tetradic
#1B2B6F #6F1B55 #6F5F1B #1B6F35
square
#1B2B6F #6F1B55 #6F5F1B #1B6F35
split-complementary
#1B2B6F #6F351B #556F1B
monochromatic
#060A19 #0F183E #1B2B6F #273EA0 #3653CE
Accessibility & contrast
On white
12.95
#1B2B6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1B2B6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2B6F
12.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2B6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2B6F | 1.00 | 12.95 | 1.62 | 12.95 |
| #FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b2b6f; /* rgb */ color: rgb(27, 43, 111); /* oklch */ color: oklch(32.2% 0.119 268.6);
Tailwind
colors: {
custom: {
50: '#656499',
500: '#1b2b6f',
950: '#000000',
},
}SCSS
$custom: #1b2b6f; $custom-light: #656499; $custom-dark: #000000;
JSON
{
"hex": "#1b2b6f",
"rgb": {
"r": 27,
"g": 43,
"b": 111
},
"hsl": {
"h": 228.571,
"s": 60.87,
"l": 27.059
},
"oklch": {
"l": 0.32178,
"c": 0.11932,
"h": 268.6
},
"luminance": 0.03108
}Semantic roles & 50–950 ramp
primary
#1B2B6F
secondary
#A49142
accent
#C544E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E