#1B345A#1B345A
#1B345A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.075 H 258.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1B345A |
|---|---|
| RGB | rgb(27, 52, 90) |
| HSL | hsl(216, 54%, 23%) |
| HSV | hsv(216, 70%, 35%) |
| CMYK | cmyk(70%, 42.2%, 0%, 64.7%) |
| CIE-LAB | lab(21.68, 4.33, -25.71) |
| CIE-LCH | lch(21.68, 26.07, 279.57°) |
| OKLab | oklab(32.6% -0.0148 -0.0732) |
| OKLCH | oklch(32.6% 0.075 258.6) |
| XYZ | xyz(3.5248, 3.4268, 10.1466) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.02
Marine Blue
#01386A
ΔE00 3.88
Navy Blue
#1B2A4A
ΔE00 4.12
Twilight Blue
#0A437A
ΔE00 6.74
Darkish Blue
#014182
ΔE00 6.99
Prussian Blue
#004577
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B345A #5A411B
analogous
#1B535A #1B345A #211B5A
triadic
#1B345A #5A1B34 #345A1B
tetradic
#1B345A #5A1B53 #5A411B #1B5A21
square
#1B345A #5A1B53 #5A411B #1B5A21
split-complementary
#1B345A #5A211B #535A1B
monochromatic
#070E18 #0D192B #1B345A #294F89 #376AB8
Accessibility & contrast
On white
12.46
#1B345A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1B345A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B345A
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B345A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B345A | 1.00 | 12.46 | 1.69 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23375C
Deuteranopia (green-blind)
#1A3159
Tritanopia (blue-blind)
#003D42
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1b345a; /* rgb */ color: rgb(27, 52, 90); /* oklch */ color: oklch(32.6% 0.075 258.6);
Tailwind
colors: {
custom: {
50: '#5f6b89',
500: '#1b345a',
950: '#000000',
},
}SCSS
$custom: #1b345a; $custom-light: #5f6b89; $custom-dark: #000000;
JSON
{
"hex": "#1b345a",
"rgb": {
"r": 27,
"g": 52,
"b": 90
},
"hsl": {
"h": 216.19,
"s": 53.846,
"l": 22.941
},
"oklch": {
"l": 0.32602,
"c": 0.07463,
"h": 258.6
},
"luminance": 0.03427
}Semantic roles & 50–950 ramp
primary
#1B345A
secondary
#907141
accent
#A34BDD
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C