#1B148F#1B148F
#1B148F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.186 H 271.2°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1B148F |
|---|---|
| RGB | rgb(27, 20, 143) |
| HSL | hsl(243, 75%, 32%) |
| HSV | hsv(243, 86%, 56%) |
| CMYK | cmyk(81.1%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(18.87, 44.94, -64.29) |
| CIE-LCH | lch(18.87, 78.44, 304.95°) |
| OKLab | oklab(32.05% 0.0039 -0.186) |
| OKLCH | oklch(32.05% 0.186 271.2) |
| XYZ | xyz(5.6584, 2.7159, 26.2073) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.16
Darkblue
#00008B
ΔE00 3.19
Cobalt Blue
#030AA7
ΔE00 3.33
Royal Blue (survey)
#0504AA
ΔE00 3.83
Navy
#000080
ΔE00 4.06
Indigo (survey)
#380282
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B148F #888F14
analogous
#144A8F #1B148F #59148F
triadic
#1B148F #8F1B14 #148F1B
tetradic
#1B148F #8F144A #888F14 #148F59
square
#1B148F #8F144A #888F14 #148F59
split-complementary
#1B148F #8F5914 #4A8F14
monochromatic
#070524 #110C59 #1B148F #251CC5 #443AE3
Accessibility & contrast
On white
13.61
#1B148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1B148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B148F
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B148F | 1.00 | 13.61 | 1.54 | 13.61 |
| #FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b148f; /* rgb */ color: rgb(27, 20, 143); /* oklch */ color: oklch(32.0% 0.186 271.2);
Tailwind
colors: {
custom: {
50: '#6f56b1',
500: '#1b148f',
950: '#000000',
},
}SCSS
$custom: #1b148f; $custom-light: #6f56b1; $custom-dark: #000000;
JSON
{
"hex": "#1b148f",
"rgb": {
"r": 27,
"g": 20,
"b": 143
},
"hsl": {
"h": 243.415,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.3205,
"c": 0.18605,
"h": 271.2
},
"luminance": 0.02716
}Semantic roles & 50–950 ramp
primary
#1B148F
secondary
#BBC33C
accent
#F236E7
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880