#1B2B7D#1B2B7D
#1B2B7D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.140 H 268.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2B7D |
|---|---|
| RGB | rgb(27, 43, 125) |
| HSL | hsl(230, 64%, 30%) |
| HSV | hsv(230, 78%, 49%) |
| CMYK | cmyk(78.4%, 65.6%, 0%, 51%) |
| CIE-LAB | lab(21.73, 24.92, -48.25) |
| CIE-LCH | lch(21.73, 54.31, 297.32°) |
| OKLab | oklab(33.5% -0.0029 -0.1395) |
| OKLCH | oklch(33.5% 0.14 268.8) |
| XYZ | xyz(5.0163, 3.4409, 19.7978) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.32
Marine
#042E60
ΔE00 6.68
Royal
#0C1793
ΔE00 6.72
Sapphire (survey)
#2138AB
ΔE00 7.28
Darkslateblue
#483D8B
ΔE00 7.73
Marine Blue
#01386A
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2B7D #7D6D1B
analogous
#1B5C7D #1B2B7D #3C1B7D
triadic
#1B2B7D #7D1B2B #2B7D1B
tetradic
#1B2B7D #7D1B5C #7D6D1B #1B7D3C
square
#1B2B7D #7D1B5C #7D6D1B #1B7D3C
split-complementary
#1B2B7D #7D3C1B #5C7D1B
monochromatic
#050919 #101A4B #1B2B7D #263CAF #3D56D5
Accessibility & contrast
On white
12.44
#1B2B7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1B2B7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2B7D
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2B7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2B7D | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1b2b7d; /* rgb */ color: rgb(27, 43, 125); /* oklch */ color: oklch(33.5% 0.140 268.8);
Tailwind
colors: {
custom: {
50: '#6864a3',
500: '#1b2b7d',
950: '#000000',
},
}SCSS
$custom: #1b2b7d; $custom-light: #6864a3; $custom-dark: #000000;
JSON
{
"hex": "#1b2b7d",
"rgb": {
"r": 27,
"g": 43,
"b": 125
},
"hsl": {
"h": 230.204,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.33502,
"c": 0.13956,
"h": 268.8
},
"luminance": 0.03441
}Semantic roles & 50–950 ramp
primary
#1B2B7D
secondary
#B19F43
accent
#CC40E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F