#2A48C2#2A48C2
#2A48C2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.193 H 267.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48C2 |
|---|---|
| RGB | rgb(42, 72, 194) |
| HSL | hsl(228, 64%, 46%) |
| HSV | hsv(228, 78%, 76%) |
| CMYK | cmyk(78.4%, 62.9%, 0%, 23.9%) |
| CIE-LAB | lab(36.02, 33.42, -66.72) |
| CIE-LCH | lch(36.02, 74.62, 296.60°) |
| OKLab | oklab(46.14% -0.0091 -0.193) |
| OKLCH | oklch(46.14% 0.193 267.3) |
| XYZ | xyz(13.0064, 9.0205, 52.0841) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.88
Blue (survey)
#0343DF
ΔE00 3.69
Cobalt
#0047AB
ΔE00 4.75
Sapphire
#0F52BA
ΔE00 4.91
Ocean Blue
#4F42B5
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48C2 #C2A42A
analogous
#2A94C2 #2A48C2 #582AC2
triadic
#2A48C2 #C22A48 #48C22A
tetradic
#2A48C2 #C22A94 #C2A42A #2AC258
square
#2A48C2 #C22A94 #C2A42A #2AC258
split-complementary
#2A48C2 #C2582A #94C22A
monochromatic
#14235D #1F3590 #2A48C2 #506BD9 #8296E4
Accessibility & contrast
On white
7.49
#2A48C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2A48C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48C2
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48C2 | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#004EC0
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a48c2; /* rgb */ color: rgb(42, 72, 194); /* oklch */ color: oklch(46.1% 0.193 267.3);
Tailwind
colors: {
custom: {
50: '#7c7ad5',
500: '#2a48c2',
950: '#000000',
},
}SCSS
$custom: #2a48c2; $custom-light: #7c7ad5; $custom-dark: #000000;
JSON
{
"hex": "#2a48c2",
"rgb": {
"r": 42,
"g": 72,
"b": 194
},
"hsl": {
"h": 228.158,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.46139,
"c": 0.19323,
"h": 267.3
},
"luminance": 0.09022
}Semantic roles & 50–950 ramp
primary
#2A48C2
secondary
#CDBD7B
accent
#C640E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83