#1B438B#1B438B
#1B438B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.128 H 261.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1B438B |
|---|---|
| RGB | rgb(27, 67, 139) |
| HSL | hsl(219, 67%, 33%) |
| HSV | hsv(219, 81%, 55%) |
| CMYK | cmyk(80.6%, 51.8%, 0%, 45.5%) |
| CIE-LAB | lab(29.69, 13.81, -44.06) |
| CIE-LCH | lch(29.69, 46.17, 287.41°) |
| OKLab | oklab(39.85% -0.02 -0.1268) |
| OKLCH | oklch(39.85% 0.128 261) |
| XYZ | xyz(7.1177, 6.1106, 25.2254) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.66
Darkish Blue
#014182
ΔE00 2.54
Twilight Blue
#0A437A
ΔE00 3.55
Cobalt
#0047AB
ΔE00 4.29
Prussian Blue
#004577
ΔE00 5.01
Dusk Blue
#26538D
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B438B #8B631B
analogous
#1B7B8B #1B438B #2B1B8B
triadic
#1B438B #8B1B43 #438B1B
tetradic
#1B438B #8B1B7B #8B631B #1B8B2B
square
#1B438B #8B1B7B #8B631B #1B8B2B
split-complementary
#1B438B #8B2B1B #7B8B1B
monochromatic
#071225 #112A58 #1B438B #255CBE #457BDB
Accessibility & contrast
On white
9.45
#1B438B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#1B438B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B438B
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B438B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B438B | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164B8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1b438b; /* rgb */ color: rgb(27, 67, 139); /* oklch */ color: oklch(39.8% 0.128 261.0);
Tailwind
colors: {
custom: {
50: '#6a76ad',
500: '#1b438b',
950: '#000000',
},
}SCSS
$custom: #1b438b; $custom-light: #6a76ad; $custom-dark: #000000;
JSON
{
"hex": "#1b438b",
"rgb": {
"r": 27,
"g": 67,
"b": 139
},
"hsl": {
"h": 218.571,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.39847,
"c": 0.12837,
"h": 261
},
"luminance": 0.06111
}Semantic roles & 50–950 ramp
primary
#1B438B
secondary
#BC9245
accent
#AD3DEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F