#2A368F#2A368F
#2A368F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.147 H 271.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A368F |
|---|---|
| RGB | rgb(42, 54, 143) |
| HSL | hsl(233, 55%, 36%) |
| HSV | hsv(233, 71%, 56%) |
| CMYK | cmyk(70.6%, 62.2%, 0%, 43.9%) |
| CIE-LAB | lab(27.05, 26.28, -50.77) |
| CIE-LCH | lch(27.05, 57.17, 297.36°) |
| OKLab | oklab(38.15% 0.0042 -0.1464) |
| OKLCH | oklch(38.15% 0.147 271.6) |
| XYZ | xyz(7.2303, 5.1131, 26.5872) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.08
Blueberry
#464196
ΔE00 4.84
Darkslateblue
#483D8B
ΔE00 5.27
Cobalt (survey)
#1E488F
ΔE00 7.27
Cobalt
#0047AB
ΔE00 7.34
Darkish Blue
#014182
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A368F #8F832A
analogous
#2A698F #2A368F #512A8F
triadic
#2A368F #8F2A36 #368F2A
tetradic
#2A368F #8F2A69 #8F832A #2A8F51
square
#2A368F #8F2A69 #8F832A #2A8F51
split-complementary
#2A368F #8F512A #698F2A
monochromatic
#0E1230 #1C2460 #2A368F #3848BE #6270D1
Accessibility & contrast
On white
10.38
#2A368F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2A368F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A368F
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A368F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A368F | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a368f; /* rgb */ color: rgb(42, 54, 143); /* oklch */ color: oklch(38.2% 0.147 271.6);
Tailwind
colors: {
custom: {
50: '#716db1',
500: '#2a368f',
950: '#000000',
},
}SCSS
$custom: #2a368f; $custom-light: #716db1; $custom-dark: #000000;
JSON
{
"hex": "#2a368f",
"rgb": {
"r": 42,
"g": 54,
"b": 143
},
"hsl": {
"h": 232.871,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.38152,
"c": 0.14651,
"h": 271.6
},
"luminance": 0.05114
}Semantic roles & 50–950 ramp
primary
#2A368F
secondary
#B7AC5E
accent
#CC4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80