#1B3F98#1B3F98
#1B3F98 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.152 H 264.0°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F98 |
|---|---|
| RGB | rgb(27, 63, 152) |
| HSL | hsl(223, 70%, 35%) |
| HSV | hsv(223, 82%, 60%) |
| CMYK | cmyk(82.2%, 58.6%, 0%, 40.4%) |
| CIE-LAB | lab(29.55, 21.83, -52.26) |
| CIE-LCH | lch(29.55, 56.64, 292.67°) |
| OKLab | oklab(40.06% -0.0158 -0.151) |
| OKLCH | oklch(40.06% 0.152 264) |
| XYZ | xyz(7.8950, 6.0541, 30.4521) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.64
Cobalt (survey)
#1E488F
ΔE00 3.79
Sapphire (survey)
#2138AB
ΔE00 4.34
Darkish Blue
#014182
ΔE00 4.86
Twilight Blue
#0A437A
ΔE00 6.00
Blueberry
#464196
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F98 #98741B
analogous
#1B7D98 #1B3F98 #361B98
triadic
#1B3F98 #981B3F #3F981B
tetradic
#1B3F98 #981B7D #98741B #1B9836
square
#1B3F98 #981B7D #98741B #1B9836
split-complementary
#1B3F98 #98361B #7D981B
monochromatic
#091430 #122964 #1B3F98 #2455CC #4E78E0
Accessibility & contrast
On white
9.50
#1B3F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#1B3F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F98
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F98 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1b3f98; /* rgb */ color: rgb(27, 63, 152); /* oklch */ color: oklch(40.1% 0.152 264.0);
Tailwind
colors: {
custom: {
50: '#6e73b7',
500: '#1b3f98',
950: '#000000',
},
}SCSS
$custom: #1b3f98; $custom-light: #6e73b7; $custom-dark: #000000;
JSON
{
"hex": "#1b3f98",
"rgb": {
"r": 27,
"g": 63,
"b": 152
},
"hsl": {
"h": 222.72,
"s": 69.832,
"l": 35.098
},
"oklch": {
"l": 0.40058,
"c": 0.15182,
"h": 264
},
"luminance": 0.06055
}Semantic roles & 50–950 ramp
primary
#1B3F98
secondary
#C2A04D
accent
#BA3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80