#1B259E#1B259E
#1B259E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.190 H 268.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1B259E |
|---|---|
| RGB | rgb(27, 37, 158) |
| HSL | hsl(235, 71%, 36%) |
| HSV | hsv(235, 83%, 62%) |
| CMYK | cmyk(82.9%, 76.6%, 0%, 38%) |
| CIE-LAB | lab(23.75, 41.03, -65.45) |
| CIE-LCH | lch(23.75, 77.25, 302.09°) |
| OKLab | oklab(35.99% -0.0035 -0.1896) |
| OKLCH | oklch(35.99% 0.19 268.9) |
| XYZ | xyz(7.2830, 4.0239, 32.7340) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.46
Cobalt Blue
#030AA7
ΔE00 4.75
Indigo Blue
#3A18B1
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 5.28
Royal Blue (survey)
#0504AA
ΔE00 5.31
Ultramarine
#2000B1
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B259E #9E941B
analogous
#1B679E #1B259E #531B9E
triadic
#1B259E #9E1B25 #259E1B
tetradic
#1B259E #9E1B67 #9E941B #1B9E53
square
#1B259E #9E1B67 #9E941B #1B9E53
split-complementary
#1B259E #9E531B #679E1B
monochromatic
#090D35 #12196A #1B259E #2431D2 #525DE1
Accessibility & contrast
On white
11.63
#1B259E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#1B259E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B259E
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B259E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B259E | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1b259e; /* rgb */ color: rgb(27, 37, 158); /* oklch */ color: oklch(36.0% 0.190 268.9);
Tailwind
colors: {
custom: {
50: '#7261bc',
500: '#1b259e',
950: '#000000',
},
}SCSS
$custom: #1b259e; $custom-light: #7261bc; $custom-dark: #000000;
JSON
{
"hex": "#1b259e",
"rgb": {
"r": 27,
"g": 37,
"b": 158
},
"hsl": {
"h": 235.42,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.3599,
"c": 0.18966,
"h": 268.9
},
"luminance": 0.04025
}Semantic roles & 50–950 ramp
primary
#1B259E
secondary
#C4BB51
accent
#E03AEE
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#090512
muted
#7B7981