#1B3296#1B3296
#1B3296 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.165 H 267.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3296 |
|---|---|
| RGB | rgb(27, 50, 150) |
| HSL | hsl(229, 69%, 35%) |
| HSV | hsv(229, 82%, 59%) |
| CMYK | cmyk(82%, 66.7%, 0%, 41.2%) |
| CIE-LAB | lab(25.91, 29.90, -56.99) |
| CIE-LCH | lch(25.91, 64.36, 297.68°) |
| OKLab | oklab(37.3% -0.0081 -0.165) |
| OKLCH | oklch(37.3% 0.165 267.2) |
| XYZ | xyz(7.0957, 4.7154, 29.3844) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.33
Blueberry
#464196
ΔE00 6.40
Royal
#0C1793
ΔE00 6.93
Darkslateblue
#483D8B
ΔE00 7.01
Cobalt
#0047AB
ΔE00 7.38
Blue Blue
#2242C7
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3296 #967F1B
analogous
#1B7096 #1B3296 #411B96
triadic
#1B3296 #961B32 #32961B
tetradic
#1B3296 #961B70 #967F1B #1B9641
square
#1B3296 #961B70 #967F1B #1B9641
split-complementary
#1B3296 #96411B #70961B
monochromatic
#080F2E #122162 #1B3296 #2443CA #4D68DF
Accessibility & contrast
On white
10.81
#1B3296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#1B3296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3296
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3296 | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1b3296; /* rgb */ color: rgb(27, 50, 150); /* oklch */ color: oklch(37.3% 0.165 267.2);
Tailwind
colors: {
custom: {
50: '#6e69b6',
500: '#1b3296',
950: '#000000',
},
}SCSS
$custom: #1b3296; $custom-light: #6e69b6; $custom-dark: #000000;
JSON
{
"hex": "#1b3296",
"rgb": {
"r": 27,
"g": 50,
"b": 150
},
"hsl": {
"h": 228.78,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.37298,
"c": 0.16522,
"h": 267.2
},
"luminance": 0.04716
}Semantic roles & 50–950 ramp
primary
#1B3296
secondary
#C1AB4C
accent
#CB3BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80