#1B438E#1B438E
#1B438E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.133 H 261.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1B438E |
|---|---|
| RGB | rgb(27, 67, 142) |
| HSL | hsl(219, 68%, 33%) |
| HSV | hsv(219, 81%, 56%) |
| CMYK | cmyk(81%, 52.8%, 0%, 44.3%) |
| CIE-LAB | lab(29.91, 15.03, -45.55) |
| CIE-LCH | lch(29.91, 47.97, 288.26°) |
| OKLab | oklab(40.09% -0.0196 -0.1312) |
| OKLCH | oklch(40.09% 0.133 261.5) |
| XYZ | xyz(7.3399, 6.1995, 26.3957) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.69
Darkish Blue
#014182
ΔE00 2.89
Cobalt
#0047AB
ΔE00 3.92
Twilight Blue
#0A437A
ΔE00 3.93
Prussian Blue
#004577
ΔE00 5.34
Dusk Blue
#26538D
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B438E #8E661B
analogous
#1B7C8E #1B438E #2C1B8E
triadic
#1B438E #8E1B43 #438E1B
tetradic
#1B438E #8E1B7C #8E661B #1B8E2C
square
#1B438E #8E1B7C #8E661B #1B8E2C
split-complementary
#1B438E #8E2C1B #7C8E1B
monochromatic
#071227 #112B5B #1B438E #255BC1 #477BDC
Accessibility & contrast
On white
9.38
#1B438E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#1B438E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B438E
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B438E | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104C91
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1b438e; /* rgb */ color: rgb(27, 67, 142); /* oklch */ color: oklch(40.1% 0.133 261.5);
Tailwind
colors: {
custom: {
50: '#6b76b0',
500: '#1b438e',
950: '#000000',
},
}SCSS
$custom: #1b438e; $custom-light: #6b76b0; $custom-dark: #000000;
JSON
{
"hex": "#1b438e",
"rgb": {
"r": 27,
"g": 67,
"b": 142
},
"hsl": {
"h": 219.13,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.40086,
"c": 0.13265,
"h": 261.5
},
"luminance": 0.062
}Semantic roles & 50–950 ramp
primary
#1B438E
secondary
#BE9447
accent
#AE3DEB
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F