#1B207E#1B207E
#1B207E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.154 H 271.3°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1B207E |
|---|---|
| RGB | rgb(27, 32, 126) |
| HSL | hsl(237, 65%, 30%) |
| HSV | hsv(237, 79%, 49%) |
| CMYK | cmyk(78.6%, 74.6%, 0%, 50.6%) |
| CIE-LAB | lab(19.11, 32.63, -53.20) |
| CIE-LCH | lch(19.11, 62.41, 301.52°) |
| OKLab | oklab(31.63% 0.0034 -0.154) |
| OKLCH | oklch(31.63% 0.154 271.3) |
| XYZ | xyz(4.7331, 2.7719, 20.0202) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.61
Royal
#0C1793
ΔE00 3.94
Dark Royal Blue
#02066F
ΔE00 5.93
Darkblue
#00008B
ΔE00 6.32
Navy
#000080
ΔE00 6.32
Deep Blue
#040273
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B207E #7E791B
analogous
#1B517E #1B207E #481B7E
triadic
#1B207E #7E1B20 #207E1B
tetradic
#1B207E #7E1B51 #7E791B #1B7E48
square
#1B207E #7E1B51 #7E791B #1B7E48
split-complementary
#1B207E #7E481B #517E1B
monochromatic
#050619 #10134C #1B207E #262DB0 #3E45D6
Accessibility & contrast
On white
13.51
#1B207E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1B207E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B207E
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B207E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B207E | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b207e; /* rgb */ color: rgb(27, 32, 126); /* oklch */ color: oklch(31.6% 0.154 271.3);
Tailwind
colors: {
custom: {
50: '#6a5ca4',
500: '#1b207e',
950: '#000000',
},
}SCSS
$custom: #1b207e; $custom-light: #6a5ca4; $custom-dark: #000000;
JSON
{
"hex": "#1b207e",
"rgb": {
"r": 27,
"g": 32,
"b": 126
},
"hsl": {
"h": 236.97,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.31626,
"c": 0.15405,
"h": 271.3
},
"luminance": 0.02772
}Semantic roles & 50–950 ramp
primary
#1B207E
secondary
#B2AC43
accent
#DF40E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F