#2A50B3#2A50B3
#2A50B3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.164 H 264.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50B3 |
|---|---|
| RGB | rgb(42, 80, 179) |
| HSL | hsl(223, 62%, 43%) |
| HSV | hsv(223, 77%, 70%) |
| CMYK | cmyk(76.5%, 55.3%, 0%, 29.8%) |
| CIE-LAB | lab(36.90, 22.53, -56.48) |
| CIE-LCH | lch(36.90, 60.81, 291.74°) |
| OKLab | oklab(46.42% -0.0148 -0.1628) |
| OKLCH | oklch(46.42% 0.164 264.8) |
| XYZ | xyz(11.9573, 9.4829, 43.8393) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.11
Cobalt
#0047AB
ΔE00 3.49
Blue Blue
#2242C7
ΔE00 5.45
Cobalt (survey)
#1E488F
ΔE00 5.55
Dusk Blue
#26538D
ΔE00 5.76
Denim Blue
#3B5B92
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50B3 #B38D2A
analogous
#2A94B3 #2A50B3 #492AB3
triadic
#2A50B3 #B32A50 #50B32A
tetradic
#2A50B3 #B32A94 #B38D2A #2AB349
square
#2A50B3 #B32A94 #B38D2A #2AB349
split-complementary
#2A50B3 #B3492A #94B32A
monochromatic
#132450 #1E3A81 #2A50B3 #466ED4 #7895DF
Accessibility & contrast
On white
7.25
#2A50B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#2A50B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A50B3
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50B3 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2a50b3; /* rgb */ color: rgb(42, 80, 179); /* oklch */ color: oklch(46.4% 0.164 264.8);
Tailwind
colors: {
custom: {
50: '#7880ca',
500: '#2a50b3',
950: '#000000',
},
}SCSS
$custom: #2a50b3; $custom-light: #7880ca; $custom-dark: #000000;
JSON
{
"hex": "#2a50b3",
"rgb": {
"r": 42,
"g": 80,
"b": 179
},
"hsl": {
"h": 223.358,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.46415,
"c": 0.16352,
"h": 264.8
},
"luminance": 0.09484
}Semantic roles & 50–950 ramp
primary
#2A50B3
secondary
#C7AF72
accent
#B843E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82