#1B348F#1B348F
#1B348F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.153 H 266.6°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1B348F |
|---|---|
| RGB | rgb(27, 52, 143) |
| HSL | hsl(227, 68%, 33%) |
| HSV | hsv(227, 81%, 56%) |
| CMYK | cmyk(81.1%, 63.6%, 0%, 43.9%) |
| CIE-LAB | lab(25.78, 25.81, -52.89) |
| CIE-LCH | lch(25.78, 58.86, 296.01°) |
| OKLab | oklab(37% -0.009 -0.153) |
| OKLCH | oklch(37% 0.153 266.6) |
| XYZ | xyz(6.6362, 4.6714, 26.5332) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.22
Blueberry
#464196
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 6.85
Darkish Blue
#014182
ΔE00 6.95
Cobalt (survey)
#1E488F
ΔE00 7.04
Cobalt
#0047AB
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B348F #8F761B
analogous
#1B6E8F #1B348F #3C1B8F
triadic
#1B348F #8F1B34 #348F1B
tetradic
#1B348F #8F1B6E #8F761B #1B8F3C
square
#1B348F #8F1B6E #8F761B #1B8F3C
split-complementary
#1B348F #8F3C1B #6E8F1B
monochromatic
#080F28 #11215C #1B348F #2547C2 #4868DC
Accessibility & contrast
On white
10.86
#1B348F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#1B348F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B348F
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B348F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B348F | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1b348f; /* rgb */ color: rgb(27, 52, 143); /* oklch */ color: oklch(37.0% 0.153 266.6);
Tailwind
colors: {
custom: {
50: '#6c6bb1',
500: '#1b348f',
950: '#000000',
},
}SCSS
$custom: #1b348f; $custom-light: #6c6bb1; $custom-dark: #000000;
JSON
{
"hex": "#1b348f",
"rgb": {
"r": 27,
"g": 52,
"b": 143
},
"hsl": {
"h": 227.069,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.37002,
"c": 0.15328,
"h": 266.6
},
"luminance": 0.04672
}Semantic roles & 50–950 ramp
primary
#1B348F
secondary
#BEA548
accent
#C63DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80