#1B2575#1B2575
#1B2575 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.136 H 270.6°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2575 |
|---|---|
| RGB | rgb(27, 37, 117) |
| HSL | hsl(233, 63%, 28%) |
| HSV | hsv(233, 77%, 46%) |
| CMYK | cmyk(76.9%, 68.4%, 0%, 54.1%) |
| CIE-LAB | lab(19.39, 25.93, -46.98) |
| CIE-LCH | lch(19.39, 53.67, 298.90°) |
| OKLab | oklab(31.55% 0.0015 -0.1358) |
| OKLCH | oklch(31.55% 0.136 270.6) |
| XYZ | xyz(4.3234, 2.8400, 17.1465) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.46
Royal
#0C1793
ΔE00 6.30
Marine
#042E60
ΔE00 7.24
Dark Royal Blue
#02066F
ΔE00 7.46
Darkblue (survey)
#030764
ΔE00 7.57
Deep Blue
#040273
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2575 #756B1B
analogous
#1B5275 #1B2575 #3E1B75
triadic
#1B2575 #751B25 #25751B
tetradic
#1B2575 #751B52 #756B1B #1B753E
square
#1B2575 #751B52 #756B1B #1B753E
split-complementary
#1B2575 #753E1B #52751B
monochromatic
#060819 #101543 #1B2575 #2635A7 #394AD1
Accessibility & contrast
On white
13.39
#1B2575 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1B2575 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2575
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2575 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2575 | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1b2575; /* rgb */ color: rgb(27, 37, 117); /* oklch */ color: oklch(31.6% 0.136 270.6);
Tailwind
colors: {
custom: {
50: '#675f9e',
500: '#1b2575',
950: '#000000',
},
}SCSS
$custom: #1b2575; $custom-light: #675f9e; $custom-dark: #000000;
JSON
{
"hex": "#1b2575",
"rgb": {
"r": 27,
"g": 37,
"b": 117
},
"hsl": {
"h": 233.333,
"s": 62.5,
"l": 28.235
},
"oklch": {
"l": 0.31551,
"c": 0.13586,
"h": 270.6
},
"luminance": 0.02841
}Semantic roles & 50–950 ramp
primary
#1B2575
secondary
#A99E42
accent
#D342E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E