#2A368C#2A368C
#2A368C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.142 H 271.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2A368C |
|---|---|
| RGB | rgb(42, 54, 140) |
| HSL | hsl(233, 54%, 36%) |
| HSV | hsv(233, 70%, 55%) |
| CMYK | cmyk(70%, 61.4%, 0%, 45.1%) |
| CIE-LAB | lab(26.80, 25.15, -49.33) |
| CIE-LCH | lch(26.80, 55.38, 297.02°) |
| OKLab | oklab(37.89% 0.0043 -0.1422) |
| OKLCH | oklch(37.89% 0.142 271.7) |
| XYZ | xyz(7.0060, 5.0234, 25.4062) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Blueberry
#464196
ΔE00 4.94
Darkslateblue
#483D8B
ΔE00 5.22
Cobalt (survey)
#1E488F
ΔE00 7.19
Cobalt
#0047AB
ΔE00 7.51
Darkish Blue
#014182
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A368C #8C802A
analogous
#2A678C #2A368C #4F2A8C
triadic
#2A368C #8C2A36 #368C2A
tetradic
#2A368C #8C2A67 #8C802A #2A8C4F
square
#2A368C #8C2A67 #8C802A #2A8C4F
split-complementary
#2A368C #8C4F2A #678C2A
monochromatic
#0E122E #1C245D #2A368C #3848BB #616ED0
Accessibility & contrast
On white
10.47
#2A368C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2A368C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A368C
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A368C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A368C | 1.00 | 10.47 | 2.00 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a368c; /* rgb */ color: rgb(42, 54, 140); /* oklch */ color: oklch(37.9% 0.142 271.7);
Tailwind
colors: {
custom: {
50: '#716dae',
500: '#2a368c',
950: '#000000',
},
}SCSS
$custom: #2a368c; $custom-light: #716dae; $custom-dark: #000000;
JSON
{
"hex": "#2a368c",
"rgb": {
"r": 42,
"g": 54,
"b": 140
},
"hsl": {
"h": 232.653,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.37886,
"c": 0.14228,
"h": 271.7
},
"luminance": 0.05024
}Semantic roles & 50–950 ramp
primary
#2A368C
secondary
#B5AB5C
accent
#CB4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F