#2A50BA#2A50BA
#2A50BA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.173 H 265.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50BA |
|---|---|
| RGB | rgb(42, 80, 186) |
| HSL | hsl(224, 63%, 45%) |
| HSV | hsv(224, 77%, 73%) |
| CMYK | cmyk(77.4%, 57%, 0%, 27.1%) |
| CIE-LAB | lab(37.43, 25.19, -59.73) |
| CIE-LCH | lch(37.43, 64.83, 292.87°) |
| OKLab | oklab(46.99% -0.0144 -0.1724) |
| OKLCH | oklch(46.99% 0.173 265.2) |
| XYZ | xyz(12.6833, 9.7733, 47.6628) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.30
Cobalt
#0047AB
ΔE00 4.01
Blue Blue
#2242C7
ΔE00 4.86
Blue (survey)
#0343DF
ΔE00 6.04
Cobalt (survey)
#1E488F
ΔE00 6.45
Denim Blue
#3B5B92
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50BA #BA942A
analogous
#2A98BA #2A50BA #4C2ABA
triadic
#2A50BA #BA2A50 #50BA2A
tetradic
#2A50BA #BA2A98 #BA942A #2ABA4C
square
#2A50BA #BA2A98 #BA942A #2ABA4C
split-complementary
#2A50BA #BA4C2A #98BA2A
monochromatic
#132556 #1F3B88 #2A50BA #4B70D6 #7D97E2
Accessibility & contrast
On white
7.11
#2A50BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2A50BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A50BA
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50BA | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a50ba; /* rgb */ color: rgb(42, 80, 186); /* oklch */ color: oklch(47.0% 0.173 265.2);
Tailwind
colors: {
custom: {
50: '#7a80d0',
500: '#2a50ba',
950: '#000000',
},
}SCSS
$custom: #2a50ba; $custom-light: #7a80d0; $custom-dark: #000000;
JSON
{
"hex": "#2a50ba",
"rgb": {
"r": 42,
"g": 80,
"b": 186
},
"hsl": {
"h": 224.167,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.46986,
"c": 0.17301,
"h": 265.2
},
"luminance": 0.09775
}Semantic roles & 50–950 ramp
primary
#2A50BA
secondary
#CAB476
accent
#BB42E6
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82