#1B2A79#1B2A79
#1B2A79 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.135 H 269.1°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2A79 |
|---|---|
| RGB | rgb(27, 42, 121) |
| HSL | hsl(230, 64%, 29%) |
| HSV | hsv(230, 78%, 47%) |
| CMYK | cmyk(77.7%, 65.3%, 0%, 52.5%) |
| CIE-LAB | lab(21.09, 24.04, -46.76) |
| CIE-LCH | lch(21.09, 52.58, 297.21°) |
| OKLab | oklab(32.92% -0.0021 -0.1351) |
| OKLCH | oklch(32.92% 0.135 269.1) |
| XYZ | xyz(4.7300, 3.2689, 18.4671) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.03
Marine
#042E60
ΔE00 6.40
Royal
#0C1793
ΔE00 6.97
Sapphire (survey)
#2138AB
ΔE00 7.92
Darkslateblue
#483D8B
ΔE00 7.99
Marine Blue
#01386A
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2A79 #796A1B
analogous
#1B5979 #1B2A79 #3B1B79
triadic
#1B2A79 #791B2A #2A791B
tetradic
#1B2A79 #791B59 #796A1B #1B793B
square
#1B2A79 #791B59 #796A1B #1B793B
split-complementary
#1B2A79 #793B1B #59791B
monochromatic
#060919 #101947 #1B2A79 #263BAB #3B53D3
Accessibility & contrast
On white
12.70
#1B2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1B2A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2A79
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2A79 | 1.00 | 12.70 | 1.65 | 12.70 |
| #FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1b2a79; /* rgb */ color: rgb(27, 42, 121); /* oklch */ color: oklch(32.9% 0.135 269.1);
Tailwind
colors: {
custom: {
50: '#6763a0',
500: '#1b2a79',
950: '#000000',
},
}SCSS
$custom: #1b2a79; $custom-light: #6763a0; $custom-dark: #000000;
JSON
{
"hex": "#1b2a79",
"rgb": {
"r": 27,
"g": 42,
"b": 121
},
"hsl": {
"h": 230.426,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.32916,
"c": 0.13517,
"h": 269.1
},
"luminance": 0.03269
}Semantic roles & 50–950 ramp
primary
#1B2A79
secondary
#AD9C43
accent
#CC41E7
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F