#1B2175#1B2175
#1B2175 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.141 H 271.7°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2175 |
|---|---|
| RGB | rgb(27, 33, 117) |
| HSL | hsl(236, 63%, 28%) |
| HSV | hsv(236, 77%, 46%) |
| CMYK | cmyk(76.9%, 71.8%, 0%, 54.1%) |
| CIE-LAB | lab(18.39, 28.64, -48.64) |
| CIE-LCH | lch(18.39, 56.44, 300.49°) |
| OKLab | oklab(30.82% 0.0041 -0.1407) |
| OKLCH | oklch(30.82% 0.141 271.7) |
| XYZ | xyz(4.2057, 2.6046, 17.1073) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.22
Royal
#0C1793
ΔE00 5.49
Dark Royal Blue
#02066F
ΔE00 6.22
Darkblue (survey)
#030764
ΔE00 6.42
Deep Blue
#040273
ΔE00 6.85
Navy
#000080
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2175 #756F1B
analogous
#1B4E75 #1B2175 #421B75
triadic
#1B2175 #751B21 #21751B
tetradic
#1B2175 #751B4E #756F1B #1B7542
square
#1B2175 #751B4E #756F1B #1B7542
split-complementary
#1B2175 #75421B #4E751B
monochromatic
#060719 #101343 #1B2175 #262FA7 #3943D1
Accessibility & contrast
On white
13.81
#1B2175 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1B2175 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2175
13.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2175 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2175 | 1.00 | 13.81 | 1.52 | 13.81 |
| #FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1b2175; /* rgb */ color: rgb(27, 33, 117); /* oklch */ color: oklch(30.8% 0.141 271.7);
Tailwind
colors: {
custom: {
50: '#675c9e',
500: '#1b2175',
950: '#000000',
},
}SCSS
$custom: #1b2175; $custom-light: #675c9e; $custom-dark: #000000;
JSON
{
"hex": "#1b2175",
"rgb": {
"r": 27,
"g": 33,
"b": 117
},
"hsl": {
"h": 236,
"s": 62.5,
"l": 28.235
},
"oklch": {
"l": 0.3082,
"c": 0.14076,
"h": 271.7
},
"luminance": 0.02605
}Semantic roles & 50–950 ramp
primary
#1B2175
secondary
#A9A342
accent
#DB42E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E