#1B2A7B#1B2A7B
#1B2A7B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.138 H 269.1°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2A7B |
|---|---|
| RGB | rgb(27, 42, 123) |
| HSL | hsl(231, 64%, 29%) |
| HSV | hsv(231, 78%, 48%) |
| CMYK | cmyk(78%, 65.9%, 0%, 51.8%) |
| CIE-LAB | lab(21.28, 24.83, -47.73) |
| CIE-LCH | lch(21.28, 53.80, 297.48°) |
| OKLab | oklab(33.11% -0.0022 -0.138) |
| OKLCH | oklch(33.11% 0.138 269.1) |
| XYZ | xyz(4.8539, 3.3185, 19.1198) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.00
Marine
#042E60
ΔE00 6.65
Royal
#0C1793
ΔE00 6.70
Sapphire (survey)
#2138AB
ΔE00 7.64
Darkslateblue
#483D8B
ΔE00 7.91
Marine Blue
#01386A
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2A7B #7B6C1B
analogous
#1B5A7B #1B2A7B #3C1B7B
triadic
#1B2A7B #7B1B2A #2A7B1B
tetradic
#1B2A7B #7B1B5A #7B6C1B #1B7B3C
square
#1B2A7B #7B1B5A #7B6C1B #1B7B3C
split-complementary
#1B2A7B #7B3C1B #5A7B1B
monochromatic
#060919 #101949 #1B2A7B #263BAD #3C54D4
Accessibility & contrast
On white
12.62
#1B2A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1B2A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2A7B
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2A7B | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1b2a7b; /* rgb */ color: rgb(27, 42, 123); /* oklch */ color: oklch(33.1% 0.138 269.1);
Tailwind
colors: {
custom: {
50: '#6863a2',
500: '#1b2a7b',
950: '#000000',
},
}SCSS
$custom: #1b2a7b; $custom-light: #6863a2; $custom-dark: #000000;
JSON
{
"hex": "#1b2a7b",
"rgb": {
"r": 27,
"g": 42,
"b": 123
},
"hsl": {
"h": 230.625,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.33111,
"c": 0.13801,
"h": 269.1
},
"luminance": 0.03319
}Semantic roles & 50–950 ramp
primary
#1B2A7B
secondary
#AF9E43
accent
#CD41E7
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F