#1B3B98#1B3B98
#1B3B98 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.157 H 265.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3B98 |
|---|---|
| RGB | rgb(27, 59, 152) |
| HSL | hsl(225, 70%, 35%) |
| HSV | hsv(225, 82%, 60%) |
| CMYK | cmyk(82.2%, 61.2%, 0%, 40.4%) |
| CIE-LAB | lab(28.45, 24.58, -54.05) |
| CIE-LCH | lch(28.45, 59.38, 294.45°) |
| OKLab | oklab(39.24% -0.0133 -0.1563) |
| OKLCH | oklch(39.24% 0.157 265.2) |
| XYZ | xyz(7.6815, 5.6270, 30.3810) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.44
Cobalt
#0047AB
ΔE00 4.72
Cobalt (survey)
#1E488F
ΔE00 5.15
Darkish Blue
#014182
ΔE00 5.80
Blueberry
#464196
ΔE00 5.89
Blue Blue
#2242C7
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3B98 #98781B
analogous
#1B7998 #1B3B98 #3A1B98
triadic
#1B3B98 #981B3B #3B981B
tetradic
#1B3B98 #981B79 #98781B #1B983A
square
#1B3B98 #981B79 #98781B #1B983A
split-complementary
#1B3B98 #983A1B #79981B
monochromatic
#091330 #122764 #1B3B98 #244FCC #4E73E0
Accessibility & contrast
On white
9.88
#1B3B98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#1B3B98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3B98
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3B98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3B98 | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1b3b98; /* rgb */ color: rgb(27, 59, 152); /* oklch */ color: oklch(39.2% 0.157 265.2);
Tailwind
colors: {
custom: {
50: '#6e70b7',
500: '#1b3b98',
950: '#000000',
},
}SCSS
$custom: #1b3b98; $custom-light: #6e70b7; $custom-dark: #000000;
JSON
{
"hex": "#1b3b98",
"rgb": {
"r": 27,
"g": 59,
"b": 152
},
"hsl": {
"h": 224.64,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.39236,
"c": 0.15687,
"h": 265.2
},
"luminance": 0.05628
}Semantic roles & 50–950 ramp
primary
#1B3B98
secondary
#C2A44D
accent
#BF3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80