#1B2B74#1B2B74
#1B2B74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.127 H 268.8°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2B74 |
|---|---|
| RGB | rgb(27, 43, 116) |
| HSL | hsl(229, 62%, 28%) |
| HSV | hsv(229, 77%, 45%) |
| CMYK | cmyk(76.7%, 62.9%, 0%, 54.5%) |
| CIE-LAB | lab(20.91, 21.35, -43.86) |
| CIE-LCH | lch(20.91, 48.78, 295.96°) |
| OKLab | oklab(32.64% -0.0028 -0.1266) |
| OKLCH | oklch(32.64% 0.127 268.8) |
| XYZ | xyz(4.4672, 3.2212, 16.9059) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.53
Midnight Blue
#191970
ΔE00 5.56
Marine Blue
#01386A
ΔE00 7.46
Royal
#0C1793
ΔE00 7.97
Navy Blue
#1B2A4A
ΔE00 8.17
Darkslateblue
#483D8B
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2B74 #74641B
analogous
#1B5874 #1B2B74 #371B74
triadic
#1B2B74 #741B2B #2B741B
tetradic
#1B2B74 #741B58 #74641B #1B7437
square
#1B2B74 #741B58 #74641B #1B7437
split-complementary
#1B2B74 #74371B #58741B
monochromatic
#060919 #0F1942 #1B2B74 #273DA6 #3954D1
Accessibility & contrast
On white
12.77
#1B2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1B2B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2B74
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2B74 | 1.00 | 12.77 | 1.64 | 12.77 |
| #FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1b2b74; /* rgb */ color: rgb(27, 43, 116); /* oklch */ color: oklch(32.6% 0.127 268.8);
Tailwind
colors: {
custom: {
50: '#66649d',
500: '#1b2b74',
950: '#000000',
},
}SCSS
$custom: #1b2b74; $custom-light: #66649d; $custom-dark: #000000;
JSON
{
"hex": "#1b2b74",
"rgb": {
"r": 27,
"g": 43,
"b": 116
},
"hsl": {
"h": 229.213,
"s": 62.238,
"l": 28.039
},
"oklch": {
"l": 0.32641,
"c": 0.12667,
"h": 268.8
},
"luminance": 0.03222
}Semantic roles & 50–950 ramp
primary
#1B2B74
secondary
#A99642
accent
#C842E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E