#1B2B6E#1B2B6E
#1B2B6E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.118 H 268.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2B6E |
|---|---|
| RGB | rgb(27, 43, 110) |
| HSL | hsl(228, 61%, 27%) |
| HSV | hsv(228, 75%, 43%) |
| CMYK | cmyk(75.5%, 60.9%, 0%, 56.9%) |
| CIE-LAB | lab(20.39, 18.94, -40.85) |
| CIE-LCH | lch(20.39, 45.03, 294.87°) |
| OKLab | oklab(32.09% -0.0028 -0.1178) |
| OKLCH | oklch(32.09% 0.118 268.6) |
| XYZ | xyz(4.1294, 3.0861, 15.1269) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.82
Midnight Blue
#191970
ΔE00 6.00
Marine Blue
#01386A
ΔE00 7.12
Navy Blue
#1B2A4A
ΔE00 7.23
Darkslateblue
#483D8B
ΔE00 8.65
Darkish Blue
#014182
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2B6E #6E5E1B
analogous
#1B556E #1B2B6E #351B6E
triadic
#1B2B6E #6E1B2B #2B6E1B
tetradic
#1B2B6E #6E1B55 #6E5E1B #1B6E35
square
#1B2B6E #6E1B55 #6E5E1B #1B6E35
split-complementary
#1B2B6E #6E351B #556E1B
monochromatic
#060A19 #0F183D #1B2B6E #273E9F #3653CE
Accessibility & contrast
On white
12.98
#1B2B6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1B2B6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2B6E
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2B6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2B6E | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b2b6e; /* rgb */ color: rgb(27, 43, 110); /* oklch */ color: oklch(32.1% 0.118 268.6);
Tailwind
colors: {
custom: {
50: '#646498',
500: '#1b2b6e',
950: '#000000',
},
}SCSS
$custom: #1b2b6e; $custom-light: #646498; $custom-dark: #000000;
JSON
{
"hex": "#1b2b6e",
"rgb": {
"r": 27,
"g": 43,
"b": 110
},
"hsl": {
"h": 228.434,
"s": 60.584,
"l": 26.863
},
"oklch": {
"l": 0.32087,
"c": 0.11783,
"h": 268.6
},
"luminance": 0.03087
}Semantic roles & 50–950 ramp
primary
#1B2B6E
secondary
#A39042
accent
#C544E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E