#1B2875#1B2875
#1B2875 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.132 H 269.8°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2875 |
|---|---|
| RGB | rgb(27, 40, 117) |
| HSL | hsl(231, 63%, 28%) |
| HSV | hsv(231, 77%, 46%) |
| CMYK | cmyk(76.9%, 65.8%, 0%, 54.1%) |
| CIE-LAB | lab(20.18, 23.86, -45.69) |
| CIE-LCH | lch(20.18, 51.54, 297.57°) |
| OKLab | oklab(32.13% -0.0005 -0.132) |
| OKLCH | oklch(32.13% 0.132 269.8) |
| XYZ | xyz(4.4206, 3.0345, 17.1789) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.46
Marine
#042E60
ΔE00 6.43
Royal
#0C1793
ΔE00 7.02
Darkslateblue
#483D8B
ΔE00 8.40
Dark Royal Blue
#02066F
ΔE00 8.44
Marine Blue
#01386A
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2875 #75681B
analogous
#1B5575 #1B2875 #3B1B75
triadic
#1B2875 #751B28 #28751B
tetradic
#1B2875 #751B55 #75681B #1B753B
square
#1B2875 #751B55 #75681B #1B753B
split-complementary
#1B2875 #753B1B #55751B
monochromatic
#060919 #101743 #1B2875 #2639A7 #394FD1
Accessibility & contrast
On white
13.07
#1B2875 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1B2875 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2875
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2875 | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b2875; /* rgb */ color: rgb(27, 40, 117); /* oklch */ color: oklch(32.1% 0.132 269.8);
Tailwind
colors: {
custom: {
50: '#66619e',
500: '#1b2875',
950: '#000000',
},
}SCSS
$custom: #1b2875; $custom-light: #66619e; $custom-dark: #000000;
JSON
{
"hex": "#1b2875",
"rgb": {
"r": 27,
"g": 40,
"b": 117
},
"hsl": {
"h": 231.333,
"s": 62.5,
"l": 28.235
},
"oklch": {
"l": 0.32131,
"c": 0.13204,
"h": 269.8
},
"luminance": 0.03035
}Semantic roles & 50–950 ramp
primary
#1B2875
secondary
#A99B42
accent
#CE42E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E