#2A479F#2A479F
#2A479F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.147 H 266.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2A479F |
|---|---|
| RGB | rgb(42, 71, 159) |
| HSL | hsl(225, 58%, 39%) |
| HSV | hsv(225, 74%, 62%) |
| CMYK | cmyk(73.6%, 55.3%, 0%, 37.6%) |
| CIE-LAB | lab(32.92, 20.88, -51.00) |
| CIE-LCH | lch(32.92, 55.11, 292.27°) |
| OKLab | oklab(42.94% -0.0092 -0.1469) |
| OKLCH | oklch(42.94% 0.147 266.4) |
| XYZ | xyz(9.4639, 7.5009, 33.7432) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.74
Cobalt (survey)
#1E488F
ΔE00 3.36
Sapphire
#0F52BA
ΔE00 5.23
Sapphire (survey)
#2138AB
ΔE00 5.32
Blueberry
#464196
ΔE00 5.75
Dusk Blue
#26538D
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A479F #9F822A
analogous
#2A829F #2A479F #482A9F
triadic
#2A479F #9F2A47 #479F2A
tetradic
#2A479F #9F2A82 #9F822A #2A9F48
square
#2A479F #9F2A82 #9F822A #2A9F48
split-complementary
#2A479F #9F482A #829F2A
monochromatic
#101C3E #1D316F #2A479F #3B5FCB #6B86D8
Accessibility & contrast
On white
8.40
#2A479F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2A479F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A479F
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A479F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A479F | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a479f; /* rgb */ color: rgb(42, 71, 159); /* oklch */ color: oklch(42.9% 0.147 266.4);
Tailwind
colors: {
custom: {
50: '#7479bc',
500: '#2a479f',
950: '#000000',
},
}SCSS
$custom: #2a479f; $custom-light: #7479bc; $custom-dark: #000000;
JSON
{
"hex": "#2a479f",
"rgb": {
"r": 42,
"g": 71,
"b": 159
},
"hsl": {
"h": 225.128,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.42938,
"c": 0.14717,
"h": 266.4
},
"luminance": 0.07502
}Semantic roles & 50–950 ramp
primary
#2A479F
secondary
#BFA966
accent
#BB46E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81