#2A4F95#2A4F95
#2A4F95 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.123 H 261.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4F95 |
|---|---|
| RGB | rgb(42, 79, 149) |
| HSL | hsl(219, 56%, 37%) |
| HSV | hsv(219, 72%, 58%) |
| CMYK | cmyk(71.8%, 47%, 0%, 41.6%) |
| CIE-LAB | lab(34.50, 11.66, -42.39) |
| CIE-LCH | lch(34.50, 43.97, 285.38°) |
| OKLab | oklab(43.92% -0.0176 -0.1214) |
| OKLCH | oklch(43.92% 0.123 261.8) |
| XYZ | xyz(9.1737, 8.2532, 29.5375) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.38
Dusk Blue
#26538D
ΔE00 2.53
Cobalt
#0047AB
ΔE00 4.11
Denim Blue
#3B5B92
ΔE00 4.11
Light Navy
#155084
ΔE00 4.57
Sapphire
#0F52BA
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4F95 #95702A
analogous
#2A8595 #2A4F95 #3A2A95
triadic
#2A4F95 #952A4F #4F952A
tetradic
#2A4F95 #952A85 #95702A #2A953A
square
#2A4F95 #952A85 #95702A #2A953A
split-complementary
#2A4F95 #953A2A #85952A
monochromatic
#0F1C36 #1D3665 #2A4F95 #3768C5 #668CD4
Accessibility & contrast
On white
7.92
#2A4F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2A4F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4F95
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4F95 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B5698
Deuteranopia (green-blind)
#154D94
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2a4f95; /* rgb */ color: rgb(42, 79, 149); /* oklch */ color: oklch(43.9% 0.123 261.8);
Tailwind
colors: {
custom: {
50: '#717fb5',
500: '#2a4f95',
950: '#000000',
},
}SCSS
$custom: #2a4f95; $custom-light: #717fb5; $custom-dark: #000000;
JSON
{
"hex": "#2a4f95",
"rgb": {
"r": 42,
"g": 79,
"b": 149
},
"hsl": {
"h": 219.252,
"s": 56.021,
"l": 37.451
},
"oklch": {
"l": 0.4392,
"c": 0.12269,
"h": 261.8
},
"luminance": 0.08254
}Semantic roles & 50–950 ramp
primary
#2A4F95
secondary
#BA9B61
accent
#AB48DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80