#2A3D7D#2A3D7D
#2A3D7D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.111 H 268.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3D7D |
|---|---|
| RGB | rgb(42, 61, 125) |
| HSL | hsl(226, 50%, 33%) |
| HSV | hsv(226, 66%, 49%) |
| CMYK | cmyk(66.4%, 51.2%, 0%, 51%) |
| CIE-LAB | lab(27.60, 14.68, -38.69) |
| CIE-LCH | lch(27.60, 41.38, 290.78°) |
| OKLab | oklab(38.12% -0.0032 -0.1108) |
| OKLCH | oklch(38.12% 0.111 268.3) |
| XYZ | xyz(6.3240, 5.3098, 20.0897) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 5.05
Darkish Blue
#014182
ΔE00 5.11
Marine Blue
#01386A
ΔE00 5.80
Twilight Blue
#0A437A
ΔE00 5.81
Blueberry
#464196
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3D7D #7D6A2A
analogous
#2A667D #2A3D7D #402A7D
triadic
#2A3D7D #7D2A3D #3D7D2A
tetradic
#2A3D7D #7D2A66 #7D6A2A #2A7D40
square
#2A3D7D #7D2A66 #7D6A2A #2A7D40
split-complementary
#2A3D7D #7D402A #667D2A
monochromatic
#0B1021 #1B274F #2A3D7D #3953AB #5A73C8
Accessibility & contrast
On white
10.18
#2A3D7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2A3D7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3D7D
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3D7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3D7D | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A457F
Deuteranopia (green-blind)
#063E7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a3d7d; /* rgb */ color: rgb(42, 61, 125); /* oklch */ color: oklch(38.1% 0.111 268.3);
Tailwind
colors: {
custom: {
50: '#6d72a3',
500: '#2a3d7d',
950: '#000000',
},
}SCSS
$custom: #2a3d7d; $custom-light: #6d72a3; $custom-dark: #000000;
JSON
{
"hex": "#2a3d7d",
"rgb": {
"r": 42,
"g": 61,
"b": 125
},
"hsl": {
"h": 226.265,
"s": 49.701,
"l": 32.745
},
"oklch": {
"l": 0.38121,
"c": 0.11086,
"h": 268.3
},
"luminance": 0.0531
}Semantic roles & 50–950 ramp
primary
#2A3D7D
secondary
#AD9956
accent
#B94FD9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F