#2A48C3#2A48C3
#2A48C3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.195 H 267.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2A48C3 |
|---|---|
| RGB | rgb(42, 72, 195) |
| HSL | hsl(228, 65%, 46%) |
| HSV | hsv(228, 78%, 76%) |
| CMYK | cmyk(78.5%, 63.1%, 0%, 23.5%) |
| CIE-LAB | lab(36.11, 33.79, -67.16) |
| CIE-LCH | lch(36.11, 75.18, 296.71°) |
| OKLab | oklab(46.23% -0.0091 -0.1943) |
| OKLCH | oklch(46.23% 0.195 267.3) |
| XYZ | xyz(13.1191, 9.0656, 52.6776) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.83
Blue (survey)
#0343DF
ΔE00 3.57
Cobalt
#0047AB
ΔE00 4.87
Sapphire
#0F52BA
ΔE00 4.97
Ocean Blue
#4F42B5
ΔE00 5.45
Sapphire (survey)
#2138AB
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A48C3 #C3A52A
analogous
#2A95C3 #2A48C3 #592AC3
triadic
#2A48C3 #C32A48 #48C32A
tetradic
#2A48C3 #C32A95 #C3A52A #2AC359
square
#2A48C3 #C32A95 #C3A52A #2AC359
split-complementary
#2A48C3 #C3592A #95C32A
monochromatic
#14235E #1F3591 #2A48C3 #516CD9 #8396E4
Accessibility & contrast
On white
7.46
#2A48C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2A48C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A48C3
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A48C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A48C3 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#004EC1
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a48c3; /* rgb */ color: rgb(42, 72, 195); /* oklch */ color: oklch(46.2% 0.195 267.3);
Tailwind
colors: {
custom: {
50: '#7c7ad6',
500: '#2a48c3',
950: '#000000',
},
}SCSS
$custom: #2a48c3; $custom-light: #7c7ad6; $custom-dark: #000000;
JSON
{
"hex": "#2a48c3",
"rgb": {
"r": 42,
"g": 72,
"b": 195
},
"hsl": {
"h": 228.235,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.4623,
"c": 0.19453,
"h": 267.3
},
"luminance": 0.09067
}Semantic roles & 50–950 ramp
primary
#2A48C3
secondary
#CDBD7B
accent
#C740E8
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83