#2A44A2#2A44A2
#2A44A2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.155 H 267.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2A44A2 |
|---|---|
| RGB | rgb(42, 68, 162) |
| HSL | hsl(227, 59%, 40%) |
| HSV | hsv(227, 74%, 64%) |
| CMYK | cmyk(74.1%, 58%, 0%, 36.5%) |
| CIE-LAB | lab(32.33, 24.04, -53.76) |
| CIE-LCH | lch(32.33, 58.89, 294.09°) |
| OKLab | oklab(42.57% -0.0067 -0.155) |
| OKLCH | oklch(42.57% 0.155 267.5) |
| XYZ | xyz(9.5413, 7.2341, 35.0689) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.13
Sapphire (survey)
#2138AB
ΔE00 4.10
Cobalt (survey)
#1E488F
ΔE00 4.37
Blueberry
#464196
ΔE00 5.16
Blue Blue
#2242C7
ΔE00 5.17
Sapphire
#0F52BA
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A44A2 #A2882A
analogous
#2A80A2 #2A44A2 #4C2AA2
triadic
#2A44A2 #A22A44 #44A22A
tetradic
#2A44A2 #A22A80 #A2882A #2AA24C
square
#2A44A2 #A22A80 #A2882A #2AA24C
split-complementary
#2A44A2 #A24C2A #80A22A
monochromatic
#111B41 #1D3071 #2A44A2 #3D5CCD #6D85D9
Accessibility & contrast
On white
8.58
#2A44A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2A44A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A44A2
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A44A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A44A2 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a44a2; /* rgb */ color: rgb(42, 68, 162); /* oklch */ color: oklch(42.6% 0.155 267.5);
Tailwind
colors: {
custom: {
50: '#7577be',
500: '#2a44a2',
950: '#000000',
},
}SCSS
$custom: #2a44a2; $custom-light: #7577be; $custom-dark: #000000;
JSON
{
"hex": "#2a44a2",
"rgb": {
"r": 42,
"g": 68,
"b": 162
},
"hsl": {
"h": 227,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.4257,
"c": 0.15518,
"h": 267.5
},
"luminance": 0.07235
}Semantic roles & 50–950 ramp
primary
#2A44A2
secondary
#C0AD68
accent
#C046E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81