#2A3F9D#2A3F9D
#2A3F9D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.155 H 268.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3F9D |
|---|---|
| RGB | rgb(42, 63, 157) |
| HSL | hsl(229, 58%, 39%) |
| HSV | hsv(229, 73%, 62%) |
| CMYK | cmyk(73.2%, 59.9%, 0%, 38.4%) |
| CIE-LAB | lab(30.59, 25.50, -53.57) |
| CIE-LCH | lch(30.59, 59.33, 295.45°) |
| OKLab | oklab(41.15% -0.0029 -0.1546) |
| OKLCH | oklch(41.15% 0.155 268.9) |
| XYZ | xyz(8.8161, 6.4807, 32.6780) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.12
Cobalt
#0047AB
ΔE00 4.41
Blueberry
#464196
ΔE00 4.51
Cobalt (survey)
#1E488F
ΔE00 5.21
Blue Blue
#2242C7
ΔE00 5.73
Darkslateblue
#483D8B
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3F9D #9D882A
analogous
#2A799D #2A3F9D #4E2A9D
triadic
#2A3F9D #9D2A3F #3F9D2A
tetradic
#2A3F9D #9D2A79 #9D882A #2A9D4E
square
#2A3F9D #9D2A79 #9D882A #2A9D4E
split-complementary
#2A3F9D #9D4E2A #799D2A
monochromatic
#10183C #1D2C6D #2A3F9D #3A54CA #6A7ED7
Accessibility & contrast
On white
9.14
#2A3F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2A3F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3F9D
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3F9D | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a3f9d; /* rgb */ color: rgb(42, 63, 157); /* oklch */ color: oklch(41.1% 0.155 268.9);
Tailwind
colors: {
custom: {
50: '#7473bb',
500: '#2a3f9d',
950: '#000000',
},
}SCSS
$custom: #2a3f9d; $custom-light: #7473bb; $custom-dark: #000000;
JSON
{
"hex": "#2a3f9d",
"rgb": {
"r": 42,
"g": 63,
"b": 157
},
"hsl": {
"h": 229.043,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.41145,
"c": 0.15459,
"h": 268.9
},
"luminance": 0.06482
}Semantic roles & 50–950 ramp
primary
#2A3F9D
secondary
#BEAE65
accent
#C547E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81