#2A3F7D#2A3F7D
#2A3F7D is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.108 H 267.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3F7D |
|---|---|
| RGB | rgb(42, 63, 125) |
| HSL | hsl(225, 50%, 33%) |
| HSV | hsv(225, 66%, 49%) |
| CMYK | cmyk(66.4%, 49.6%, 0%, 51%) |
| CIE-LAB | lab(28.19, 13.30, -37.74) |
| CIE-LCH | lch(28.19, 40.02, 289.41°) |
| OKLab | oklab(38.57% -0.0054 -0.108) |
| OKLCH | oklch(38.57% 0.108 267.2) |
| XYZ | xyz(6.4328, 5.5273, 20.1259) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.47
Darkish Blue
#014182
ΔE00 4.64
Twilight Blue
#0A437A
ΔE00 5.26
Marine Blue
#01386A
ΔE00 5.62
Blueberry
#464196
ΔE00 6.61
Marine
#042E60
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3F7D #7D682A
analogous
#2A697D #2A3F7D #3E2A7D
triadic
#2A3F7D #7D2A3F #3F7D2A
tetradic
#2A3F7D #7D2A69 #7D682A #2A7D3E
square
#2A3F7D #7D2A69 #7D682A #2A7D3E
split-complementary
#2A3F7D #7D3E2A #697D2A
monochromatic
#0B1121 #1B284F #2A3F7D #3956AB #5A76C8
Accessibility & contrast
On white
9.97
#2A3F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2A3F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3F7D
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3F7D | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F467F
Deuteranopia (green-blind)
#0E3F7C
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a3f7d; /* rgb */ color: rgb(42, 63, 125); /* oklch */ color: oklch(38.6% 0.108 267.2);
Tailwind
colors: {
custom: {
50: '#6d73a3',
500: '#2a3f7d',
950: '#000000',
},
}SCSS
$custom: #2a3f7d; $custom-light: #6d73a3; $custom-dark: #000000;
JSON
{
"hex": "#2a3f7d",
"rgb": {
"r": 42,
"g": 63,
"b": 125
},
"hsl": {
"h": 224.819,
"s": 49.701,
"l": 32.745
},
"oklch": {
"l": 0.38568,
"c": 0.10814,
"h": 267.2
},
"luminance": 0.05528
}Semantic roles & 50–950 ramp
primary
#2A3F7D
secondary
#AD9756
accent
#B64FD9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F