#1B3B95#1B3B95
#1B3B95 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.153 H 265.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3B95 |
|---|---|
| RGB | rgb(27, 59, 149) |
| HSL | hsl(224, 69%, 35%) |
| HSV | hsv(224, 82%, 58%) |
| CMYK | cmyk(81.9%, 60.4%, 0%, 41.6%) |
| CIE-LAB | lab(28.19, 23.38, -52.63) |
| CIE-LCH | lch(28.19, 57.59, 293.95°) |
| OKLab | oklab(38.96% -0.0133 -0.1522) |
| OKLCH | oklch(38.96% 0.153 265) |
| XYZ | xyz(7.4389, 5.5300, 29.1033) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.89
Cobalt
#0047AB
ΔE00 4.85
Cobalt (survey)
#1E488F
ΔE00 4.94
Darkish Blue
#014182
ΔE00 5.46
Blueberry
#464196
ΔE00 5.98
Twilight Blue
#0A437A
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3B95 #95751B
analogous
#1B7895 #1B3B95 #381B95
triadic
#1B3B95 #951B3B #3B951B
tetradic
#1B3B95 #951B78 #95751B #1B9538
square
#1B3B95 #951B78 #95751B #1B9538
split-complementary
#1B3B95 #95381B #78951B
monochromatic
#08122D #122661 #1B3B95 #2450C9 #4C72DF
Accessibility & contrast
On white
9.97
#1B3B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#1B3B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3B95
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3B95 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1b3b95; /* rgb */ color: rgb(27, 59, 149); /* oklch */ color: oklch(39.0% 0.153 265.0);
Tailwind
colors: {
custom: {
50: '#6d70b5',
500: '#1b3b95',
950: '#000000',
},
}SCSS
$custom: #1b3b95; $custom-light: #6d70b5; $custom-dark: #000000;
JSON
{
"hex": "#1b3b95",
"rgb": {
"r": 27,
"g": 59,
"b": 149
},
"hsl": {
"h": 224.262,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.38965,
"c": 0.15274,
"h": 265
},
"luminance": 0.05531
}Semantic roles & 50–950 ramp
primary
#1B3B95
secondary
#C1A24B
accent
#BE3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80