#2A3F8D#2A3F8D
#2A3F8D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.132 H 268.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3F8D |
|---|---|
| RGB | rgb(42, 63, 141) |
| HSL | hsl(227, 54%, 36%) |
| HSV | hsv(227, 70%, 55%) |
| CMYK | cmyk(70.2%, 55.3%, 0%, 44.7%) |
| CIE-LAB | lab(29.34, 19.41, -45.83) |
| CIE-LCH | lch(29.34, 49.78, 292.95°) |
| OKLab | oklab(39.81% -0.0036 -0.1318) |
| OKLCH | oklch(39.81% 0.132 268.4) |
| XYZ | xyz(7.5384, 5.9696, 25.9491) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.21
Blueberry
#464196
ΔE00 5.00
Darkish Blue
#014182
ΔE00 5.29
Sapphire (survey)
#2138AB
ΔE00 5.34
Cobalt
#0047AB
ΔE00 5.37
Darkslateblue
#483D8B
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3F8D #8D782A
analogous
#2A708D #2A3F8D #462A8D
triadic
#2A3F8D #8D2A3F #3F8D2A
tetradic
#2A3F8D #8D2A70 #8D782A #2A8D46
square
#2A3F8D #8D2A70 #8D782A #2A8D46
split-complementary
#2A3F8D #8D462A #708D2A
monochromatic
#0E152F #1C2A5E #2A3F8D #3854BC #6179D0
Accessibility & contrast
On white
9.57
#2A3F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2A3F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3F8D
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3F8D | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#044A90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a3f8d; /* rgb */ color: rgb(42, 63, 141); /* oklch */ color: oklch(39.8% 0.132 268.4);
Tailwind
colors: {
custom: {
50: '#7073af',
500: '#2a3f8d',
950: '#000000',
},
}SCSS
$custom: #2a3f8d; $custom-light: #7073af; $custom-dark: #000000;
JSON
{
"hex": "#2a3f8d",
"rgb": {
"r": 42,
"g": 63,
"b": 141
},
"hsl": {
"h": 227.273,
"s": 54.098,
"l": 35.882
},
"oklch": {
"l": 0.39806,
"c": 0.13186,
"h": 268.4
},
"luminance": 0.0597
}Semantic roles & 50–950 ramp
primary
#2A3F8D
secondary
#B6A35D
accent
#BE4ADD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F