#1B3394#1B3394
#1B3394 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.161 H 267.0°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3394 |
|---|---|
| RGB | rgb(27, 51, 148) |
| HSL | hsl(228, 69%, 34%) |
| HSV | hsv(228, 82%, 58%) |
| CMYK | cmyk(81.8%, 65.5%, 0%, 42%) |
| CIE-LAB | lab(25.97, 28.45, -55.65) |
| CIE-LCH | lch(25.97, 62.50, 297.08°) |
| OKLab | oklab(37.29% -0.0085 -0.1611) |
| OKLCH | oklch(37.29% 0.161 267) |
| XYZ | xyz(6.9792, 4.7380, 28.5579) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.52
Blueberry
#464196
ΔE00 6.31
Darkslateblue
#483D8B
ΔE00 6.91
Cobalt
#0047AB
ΔE00 7.15
Royal
#0C1793
ΔE00 7.32
Cobalt (survey)
#1E488F
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3394 #947C1B
analogous
#1B7094 #1B3394 #401B94
triadic
#1B3394 #941B33 #33941B
tetradic
#1B3394 #941B70 #947C1B #1B9440
square
#1B3394 #941B70 #947C1B #1B9440
split-complementary
#1B3394 #94401B #70941B
monochromatic
#080F2C #122160 #1B3394 #2445C8 #4B68DE
Accessibility & contrast
On white
10.78
#1B3394 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1B3394 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3394
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3394 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3394 | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1b3394; /* rgb */ color: rgb(27, 51, 148); /* oklch */ color: oklch(37.3% 0.161 267.0);
Tailwind
colors: {
custom: {
50: '#6e6ab4',
500: '#1b3394',
950: '#000000',
},
}SCSS
$custom: #1b3394; $custom-light: #6e6ab4; $custom-dark: #000000;
JSON
{
"hex": "#1b3394",
"rgb": {
"r": 27,
"g": 51,
"b": 148
},
"hsl": {
"h": 228.099,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.3729,
"c": 0.16133,
"h": 267
},
"luminance": 0.04739
}Semantic roles & 50–950 ramp
primary
#1B3394
secondary
#C0A94B
accent
#C93CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80