#151B75#151B75
#151B75 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.149 H 270.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #151B75 |
|---|---|
| RGB | rgb(21, 27, 117) |
| HSL | hsl(236, 70%, 27%) |
| HSV | hsv(236, 82%, 46%) |
| CMYK | cmyk(82.1%, 76.9%, 0%, 54.1%) |
| CIE-LAB | lab(16.64, 31.94, -51.53) |
| CIE-LCH | lch(16.64, 60.63, 301.79°) |
| OKLab | oklab(29.47% 0.0004 -0.1492) |
| OKLCH | oklch(29.47% 0.149 270.1) |
| XYZ | xyz(3.9110, 2.2272, 17.0499) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.01
Dark Royal Blue
#02066F
ΔE00 4.56
Royal
#0C1793
ΔE00 4.70
Darkblue (survey)
#030764
ΔE00 4.93
Deep Blue
#040273
ΔE00 5.18
Navy
#000080
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151B75 #756F15
analogous
#154B75 #151B75 #3F1575
triadic
#151B75 #75151B #1B7515
tetradic
#151B75 #75154B #756F15 #15753F
square
#151B75 #75154B #756F15 #15753F
split-complementary
#151B75 #753F15 #4B7515
monochromatic
#05061A #0C0F41 #151B75 #1E27A9 #2B36D9
Accessibility & contrast
On white
14.53
#151B75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#151B75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151B75
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151B75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151B75 | 1.00 | 14.53 | 1.45 | 14.53 |
| #FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #151b75; /* rgb */ color: rgb(21, 27, 117); /* oklch */ color: oklch(29.5% 0.149 270.1);
Tailwind
colors: {
custom: {
50: '#66589e',
500: '#151b75',
950: '#000000',
},
}SCSS
$custom: #151b75; $custom-light: #66589e; $custom-dark: #000000;
JSON
{
"hex": "#151b75",
"rgb": {
"r": 21,
"g": 27,
"b": 117
},
"hsl": {
"h": 236.25,
"s": 69.565,
"l": 27.059
},
"oklch": {
"l": 0.29472,
"c": 0.14925,
"h": 270.1
},
"luminance": 0.02228
}Semantic roles & 50–950 ramp
primary
#151B75
secondary
#ABA43B
accent
#E13BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E