#1B2E7B#1B2E7B
#1B2E7B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.133 H 267.8°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E7B |
|---|---|
| RGB | rgb(27, 46, 123) |
| HSL | hsl(228, 64%, 29%) |
| HSV | hsv(228, 78%, 48%) |
| CMYK | cmyk(78%, 62.6%, 0%, 51.8%) |
| CIE-LAB | lab(22.36, 22.04, -45.95) |
| CIE-LCH | lch(22.36, 50.96, 295.62°) |
| OKLab | oklab(33.91% -0.005 -0.1327) |
| OKLCH | oklch(33.91% 0.133 267.8) |
| XYZ | xyz(5.0029, 3.6165, 19.1694) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.79
Midnight Blue
#191970
ΔE00 6.34
Marine Blue
#01386A
ΔE00 7.06
Sapphire (survey)
#2138AB
ΔE00 7.37
Darkslateblue
#483D8B
ΔE00 7.61
Royal
#0C1793
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E7B #7B681B
analogous
#1B5E7B #1B2E7B #381B7B
triadic
#1B2E7B #7B1B2E #2E7B1B
tetradic
#1B2E7B #7B1B5E #7B681B #1B7B38
square
#1B2E7B #7B1B5E #7B681B #1B7B38
split-complementary
#1B2E7B #7B381B #5E7B1B
monochromatic
#060919 #101B49 #1B2E7B #2641AD #3C5AD4
Accessibility & contrast
On white
12.19
#1B2E7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1B2E7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E7B
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E7B | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1b2e7b; /* rgb */ color: rgb(27, 46, 123); /* oklch */ color: oklch(33.9% 0.133 267.8);
Tailwind
colors: {
custom: {
50: '#6766a2',
500: '#1b2e7b',
950: '#000000',
},
}SCSS
$custom: #1b2e7b; $custom-light: #6766a2; $custom-dark: #000000;
JSON
{
"hex": "#1b2e7b",
"rgb": {
"r": 27,
"g": 46,
"b": 123
},
"hsl": {
"h": 228.125,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.33913,
"c": 0.13284,
"h": 267.8
},
"luminance": 0.03617
}Semantic roles & 50–950 ramp
primary
#1B2E7B
secondary
#AF9A43
accent
#C641E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F