#2A3A7B#2A3A7B
#2A3A7B is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.3% C 0.112 H 269.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3A7B |
|---|---|
| RGB | rgb(42, 58, 123) |
| HSL | hsl(228, 49%, 32%) |
| HSV | hsv(228, 66%, 48%) |
| CMYK | cmyk(65.9%, 52.8%, 0%, 51.8%) |
| CIE-LAB | lab(26.59, 15.99, -39.06) |
| CIE-LCH | lch(26.59, 42.21, 292.26°) |
| OKLab | oklab(37.31% -0.0003 -0.112) |
| OKLCH | oklch(37.31% 0.112 269.8) |
| XYZ | xyz(6.0418, 4.9479, 19.3717) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 5.90
Cobalt (survey)
#1E488F
ΔE00 6.05
Marine Blue
#01386A
ΔE00 6.08
Darkslateblue
#483D8B
ΔE00 6.19
Marine
#042E60
ΔE00 6.23
Blueberry
#464196
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3A7B #7B6B2A
analogous
#2A637B #2A3A7B #422A7B
triadic
#2A3A7B #7B2A3A #3A7B2A
tetradic
#2A3A7B #7B2A63 #7B6B2A #2A7B42
square
#2A3A7B #7B2A63 #7B6B2A #2A7B42
split-complementary
#2A3A7B #7B422A #637B2A
monochromatic
#0B0F20 #1A244D #2A3A7B #3A50A9 #596FC6
Accessibility & contrast
On white
10.55
#2A3A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2A3A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3A7B
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3A7B | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#15437D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a3a7b; /* rgb */ color: rgb(42, 58, 123); /* oklch */ color: oklch(37.3% 0.112 269.8);
Tailwind
colors: {
custom: {
50: '#6d6fa2',
500: '#2a3a7b',
950: '#000000',
},
}SCSS
$custom: #2a3a7b; $custom-light: #6d6fa2; $custom-dark: #000000;
JSON
{
"hex": "#2a3a7b",
"rgb": {
"r": 42,
"g": 58,
"b": 123
},
"hsl": {
"h": 228.148,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.37307,
"c": 0.11196,
"h": 269.8
},
"luminance": 0.04948
}Semantic roles & 50–950 ramp
primary
#2A3A7B
secondary
#AC9B55
accent
#BD4FD9
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F