#2A3F7B#2A3F7B
#2A3F7B is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.105 H 266.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3F7B |
|---|---|
| RGB | rgb(42, 63, 123) |
| HSL | hsl(224, 49%, 32%) |
| HSV | hsv(224, 66%, 48%) |
| CMYK | cmyk(65.9%, 48.8%, 0%, 51.8%) |
| CIE-LAB | lab(28.05, 12.54, -36.70) |
| CIE-LCH | lch(28.05, 38.79, 288.86°) |
| OKLab | oklab(38.42% -0.0057 -0.1049) |
| OKLCH | oklch(38.42% 0.105 266.9) |
| XYZ | xyz(6.3063, 5.4768, 19.4598) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.60
Darkish Blue
#014182
ΔE00 4.64
Twilight Blue
#0A437A
ΔE00 5.19
Marine Blue
#01386A
ΔE00 5.46
Marine
#042E60
ΔE00 6.58
Prussian Blue
#004577
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3F7B #7B662A
analogous
#2A687B #2A3F7B #3D2A7B
triadic
#2A3F7B #7B2A3F #3F7B2A
tetradic
#2A3F7B #7B2A68 #7B662A #2A7B3D
square
#2A3F7B #7B2A68 #7B662A #2A7B3D
split-complementary
#2A3F7B #7B3D2A #687B2A
monochromatic
#0B1020 #1A284D #2A3F7B #3A56A9 #5975C6
Accessibility & contrast
On white
10.02
#2A3F7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2A3F7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3F7B
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3F7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3F7B | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#123F7A
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a3f7b; /* rgb */ color: rgb(42, 63, 123); /* oklch */ color: oklch(38.4% 0.105 266.9);
Tailwind
colors: {
custom: {
50: '#6c73a1',
500: '#2a3f7b',
950: '#000000',
},
}SCSS
$custom: #2a3f7b; $custom-light: #6c73a1; $custom-dark: #000000;
JSON
{
"hex": "#2a3f7b",
"rgb": {
"r": 42,
"g": 63,
"b": 123
},
"hsl": {
"h": 224.444,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.38422,
"c": 0.1051,
"h": 266.9
},
"luminance": 0.05477
}Semantic roles & 50–950 ramp
primary
#2A3F7B
secondary
#AC9555
accent
#B54FD9
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F