#2A378C#2A378C
#2A378C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.141 H 271.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A378C |
|---|---|
| RGB | rgb(42, 55, 140) |
| HSL | hsl(232, 54%, 36%) |
| HSV | hsv(232, 70%, 55%) |
| CMYK | cmyk(70%, 60.7%, 0%, 45.1%) |
| CIE-LAB | lab(27.07, 24.48, -48.90) |
| CIE-LCH | lch(27.07, 54.69, 296.59°) |
| OKLab | oklab(38.08% 0.0034 -0.1409) |
| OKLCH | oklch(38.08% 0.141 271.4) |
| XYZ | xyz(7.0531, 5.1174, 25.4219) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.57
Blueberry
#464196
ΔE00 4.85
Darkslateblue
#483D8B
ΔE00 5.21
Cobalt (survey)
#1E488F
ΔE00 6.86
Cobalt
#0047AB
ΔE00 7.26
Darkish Blue
#014182
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A378C #8C7F2A
analogous
#2A688C #2A378C #4E2A8C
triadic
#2A378C #8C2A37 #378C2A
tetradic
#2A378C #8C2A68 #8C7F2A #2A8C4E
square
#2A378C #8C2A68 #8C7F2A #2A8C4E
split-complementary
#2A378C #8C4E2A #688C2A
monochromatic
#0E122E #1C255D #2A378C #3849BB #6170D0
Accessibility & contrast
On white
10.38
#2A378C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2A378C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A378C
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A378C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A378C | 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)
#00458F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a378c; /* rgb */ color: rgb(42, 55, 140); /* oklch */ color: oklch(38.1% 0.141 271.4);
Tailwind
colors: {
custom: {
50: '#716dae',
500: '#2a378c',
950: '#000000',
},
}SCSS
$custom: #2a378c; $custom-light: #716dae; $custom-dark: #000000;
JSON
{
"hex": "#2a378c",
"rgb": {
"r": 42,
"g": 55,
"b": 140
},
"hsl": {
"h": 232.041,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.38083,
"c": 0.14098,
"h": 271.4
},
"luminance": 0.05118
}Semantic roles & 50–950 ramp
primary
#2A378C
secondary
#B5AA5C
accent
#CA4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F