#2A368E#2A368E
#2A368E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.145 H 271.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2A368E |
|---|---|
| RGB | rgb(42, 54, 142) |
| HSL | hsl(233, 54%, 36%) |
| HSV | hsv(233, 70%, 56%) |
| CMYK | cmyk(70.4%, 62%, 0%, 44.3%) |
| CIE-LAB | lab(26.97, 25.90, -50.30) |
| CIE-LCH | lch(26.97, 56.57, 297.25°) |
| OKLab | oklab(38.06% 0.0042 -0.1451) |
| OKLCH | oklch(38.06% 0.145 271.7) |
| XYZ | xyz(7.1548, 5.0829, 26.1900) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.24
Blueberry
#464196
ΔE00 4.87
Darkslateblue
#483D8B
ΔE00 5.25
Cobalt (survey)
#1E488F
ΔE00 7.24
Cobalt
#0047AB
ΔE00 7.39
Darkish Blue
#014182
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A368E #8E822A
analogous
#2A688E #2A368E #502A8E
triadic
#2A368E #8E2A36 #368E2A
tetradic
#2A368E #8E2A68 #8E822A #2A8E50
square
#2A368E #8E2A68 #8E822A #2A8E50
split-complementary
#2A368E #8E502A #688E2A
monochromatic
#0E1230 #1C245F #2A368E #3848BD #626FD1
Accessibility & contrast
On white
10.41
#2A368E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2A368E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A368E
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A368E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A368E | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a368e; /* rgb */ color: rgb(42, 54, 142); /* oklch */ color: oklch(38.1% 0.145 271.7);
Tailwind
colors: {
custom: {
50: '#716db0',
500: '#2a368e',
950: '#000000',
},
}SCSS
$custom: #2a368e; $custom-light: #716db0; $custom-dark: #000000;
JSON
{
"hex": "#2a368e",
"rgb": {
"r": 42,
"g": 54,
"b": 142
},
"hsl": {
"h": 232.8,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.38063,
"c": 0.14511,
"h": 271.7
},
"luminance": 0.05084
}Semantic roles & 50–950 ramp
primary
#2A368E
secondary
#B6AC5D
accent
#CC4ADE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F