#2A4F9C#2A4F9C
#2A4F9C is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.133 H 262.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4F9C |
|---|---|
| RGB | rgb(42, 79, 156) |
| HSL | hsl(221, 58%, 39%) |
| HSV | hsv(221, 73%, 61%) |
| CMYK | cmyk(73.1%, 49.4%, 0%, 38.8%) |
| CIE-LAB | lab(34.97, 14.36, -45.88) |
| CIE-LCH | lch(34.97, 48.07, 287.38°) |
| OKLab | oklab(44.43% -0.0165 -0.1317) |
| OKLCH | oklch(44.43% 0.133 262.9) |
| XYZ | xyz(9.7494, 8.4835, 32.5697) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.83
Dusk Blue
#26538D
ΔE00 3.23
Cobalt
#0047AB
ΔE00 3.51
Sapphire
#0F52BA
ΔE00 3.94
Denim Blue
#3B5B92
ΔE00 4.35
Light Navy
#155084
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4F9C #9C772A
analogous
#2A889C #2A4F9C #3E2A9C
triadic
#2A4F9C #9C2A4F #4F9C2A
tetradic
#2A4F9C #9C2A88 #9C772A #2A9C3E
square
#2A4F9C #9C2A88 #9C772A #2A9C3E
split-complementary
#2A4F9C #9C3E2A #889C2A
monochromatic
#101E3C #1D376C #2A4F9C #3968CA #6A8DD7
Accessibility & contrast
On white
7.79
#2A4F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2A4F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4F9C
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4F9C | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24589F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a4f9c; /* rgb */ color: rgb(42, 79, 156); /* oklch */ color: oklch(44.4% 0.133 262.9);
Tailwind
colors: {
custom: {
50: '#737fba',
500: '#2a4f9c',
950: '#000000',
},
}SCSS
$custom: #2a4f9c; $custom-light: #737fba; $custom-dark: #000000;
JSON
{
"hex": "#2a4f9c",
"rgb": {
"r": 42,
"g": 79,
"b": 156
},
"hsl": {
"h": 220.526,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.44427,
"c": 0.1327,
"h": 262.9
},
"luminance": 0.08485
}Semantic roles & 50–950 ramp
primary
#2A4F9C
secondary
#BDA065
accent
#AF47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81