#1B348C#1B348C
#1B348C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.149 H 266.5°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1B348C |
|---|---|
| RGB | rgb(27, 52, 140) |
| HSL | hsl(227, 68%, 33%) |
| HSV | hsv(227, 81%, 55%) |
| CMYK | cmyk(80.7%, 62.9%, 0%, 45.1%) |
| CIE-LAB | lab(25.51, 24.63, -51.48) |
| CIE-LCH | lch(25.51, 57.06, 295.57°) |
| OKLab | oklab(36.72% -0.009 -0.1489) |
| OKLCH | oklch(36.72% 0.149 266.5) |
| XYZ | xyz(6.4120, 4.5817, 25.3523) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.67
Blueberry
#464196
ΔE00 6.47
Darkish Blue
#014182
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 6.88
Cobalt (survey)
#1E488F
ΔE00 6.95
Cobalt
#0047AB
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B348C #8C731B
analogous
#1B6C8C #1B348C #3B1B8C
triadic
#1B348C #8C1B34 #348C1B
tetradic
#1B348C #8C1B6C #8C731B #1B8C3B
square
#1B348C #8C1B6C #8C731B #1B8C3B
split-complementary
#1B348C #8C3B1B #6C8C1B
monochromatic
#070E25 #112159 #1B348C #2547BF #4667DB
Accessibility & contrast
On white
10.96
#1B348C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#1B348C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B348C
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B348C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B348C | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1b348c; /* rgb */ color: rgb(27, 52, 140); /* oklch */ color: oklch(36.7% 0.149 266.5);
Tailwind
colors: {
custom: {
50: '#6b6bae',
500: '#1b348c',
950: '#000000',
},
}SCSS
$custom: #1b348c; $custom-light: #6b6bae; $custom-dark: #000000;
JSON
{
"hex": "#1b348c",
"rgb": {
"r": 27,
"g": 52,
"b": 140
},
"hsl": {
"h": 226.726,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.3672,
"c": 0.14913,
"h": 266.5
},
"luminance": 0.04582
}Semantic roles & 50–950 ramp
primary
#1B348C
secondary
#BDA346
accent
#C43DEB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F