#1B2B72#1B2B72
#1B2B72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.124 H 268.7°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2B72 |
|---|---|
| RGB | rgb(27, 43, 114) |
| HSL | hsl(229, 62%, 28%) |
| HSV | hsv(229, 76%, 45%) |
| CMYK | cmyk(76.3%, 62.3%, 0%, 55.3%) |
| CIE-LAB | lab(20.73, 20.55, -42.86) |
| CIE-LCH | lch(20.73, 47.53, 295.61°) |
| OKLab | oklab(32.45% -0.0028 -0.1237) |
| OKLCH | oklch(32.45% 0.124 268.7) |
| XYZ | xyz(4.3521, 3.1752, 16.2998) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.29
Midnight Blue
#191970
ΔE00 5.68
Marine Blue
#01386A
ΔE00 7.34
Navy Blue
#1B2A4A
ΔE00 7.86
Royal
#0C1793
ΔE00 8.27
Darkslateblue
#483D8B
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2B72 #72621B
analogous
#1B5672 #1B2B72 #371B72
triadic
#1B2B72 #721B2B #2B721B
tetradic
#1B2B72 #721B56 #72621B #1B7237
square
#1B2B72 #721B56 #72621B #1B7237
split-complementary
#1B2B72 #72371B #56721B
monochromatic
#060919 #0F1841 #1B2B72 #273EA3 #3854D0
Accessibility & contrast
On white
12.84
#1B2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1B2B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2B72
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2B72 | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1b2b72; /* rgb */ color: rgb(27, 43, 114); /* oklch */ color: oklch(32.5% 0.124 268.7);
Tailwind
colors: {
custom: {
50: '#65649b',
500: '#1b2b72',
950: '#000000',
},
}SCSS
$custom: #1b2b72; $custom-light: #65649b; $custom-dark: #000000;
JSON
{
"hex": "#1b2b72",
"rgb": {
"r": 27,
"g": 43,
"b": 114
},
"hsl": {
"h": 228.966,
"s": 61.702,
"l": 27.647
},
"oklch": {
"l": 0.32454,
"c": 0.12375,
"h": 268.7
},
"luminance": 0.03176
}Semantic roles & 50–950 ramp
primary
#1B2B72
secondary
#A79442
accent
#C743E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E