#1B438D#1B438D
#1B438D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.131 H 261.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1B438D |
|---|---|
| RGB | rgb(27, 67, 141) |
| HSL | hsl(219, 68%, 33%) |
| HSV | hsv(219, 81%, 55%) |
| CMYK | cmyk(80.9%, 52.5%, 0%, 44.7%) |
| CIE-LAB | lab(29.84, 14.63, -45.05) |
| CIE-LCH | lch(29.84, 47.37, 287.98°) |
| OKLab | oklab(40.01% -0.0197 -0.1297) |
| OKLCH | oklch(40.01% 0.131 261.4) |
| XYZ | xyz(7.2651, 6.1696, 26.0021) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.66
Darkish Blue
#014182
ΔE00 2.77
Twilight Blue
#0A437A
ΔE00 3.80
Cobalt
#0047AB
ΔE00 4.05
Prussian Blue
#004577
ΔE00 5.23
Dusk Blue
#26538D
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B438D #8D651B
analogous
#1B7C8D #1B438D #2C1B8D
triadic
#1B438D #8D1B43 #438D1B
tetradic
#1B438D #8D1B7C #8D651B #1B8D2C
square
#1B438D #8D1B7C #8D651B #1B8D2C
split-complementary
#1B438D #8D2C1B #7C8D1B
monochromatic
#071226 #112B5A #1B438D #255BC0 #477BDC
Accessibility & contrast
On white
9.40
#1B438D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1B438D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B438D
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B438D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B438D | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124C90
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1b438d; /* rgb */ color: rgb(27, 67, 141); /* oklch */ color: oklch(40.0% 0.131 261.4);
Tailwind
colors: {
custom: {
50: '#6b76af',
500: '#1b438d',
950: '#000000',
},
}SCSS
$custom: #1b438d; $custom-light: #6b76af; $custom-dark: #000000;
JSON
{
"hex": "#1b438d",
"rgb": {
"r": 27,
"g": 67,
"b": 141
},
"hsl": {
"h": 218.947,
"s": 67.857,
"l": 32.941
},
"oklch": {
"l": 0.40006,
"c": 0.13122,
"h": 261.4
},
"luminance": 0.0617
}Semantic roles & 50–950 ramp
primary
#1B438D
secondary
#BD9446
accent
#AE3DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F