#2A50B0#2A50B0
#2A50B0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.159 H 264.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2A50B0 |
|---|---|
| RGB | rgb(42, 80, 176) |
| HSL | hsl(223, 61%, 43%) |
| HSV | hsv(223, 76%, 69%) |
| CMYK | cmyk(76.1%, 54.5%, 0%, 31%) |
| CIE-LAB | lab(36.67, 21.38, -55.07) |
| CIE-LCH | lch(36.67, 59.07, 291.22°) |
| OKLab | oklab(46.18% -0.015 -0.1587) |
| OKLCH | oklch(46.18% 0.159 264.6) |
| XYZ | xyz(11.6572, 9.3629, 42.2587) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.16
Cobalt
#0047AB
ΔE00 3.34
Cobalt (survey)
#1E488F
ΔE00 5.17
Dusk Blue
#26538D
ΔE00 5.39
Denim Blue
#3B5B92
ΔE00 5.52
Blue Blue
#2242C7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A50B0 #B08A2A
analogous
#2A93B0 #2A50B0 #472AB0
triadic
#2A50B0 #B02A50 #50B02A
tetradic
#2A50B0 #B02A93 #B08A2A #2AB047
square
#2A50B0 #B02A93 #B08A2A #2AB047
split-complementary
#2A50B0 #B0472A #93B02A
monochromatic
#12234D #1E3A7F #2A50B0 #456DD3 #7694DE
Accessibility & contrast
On white
7.31
#2A50B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2A50B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A50B0
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A50B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A50B0 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2a50b0; /* rgb */ color: rgb(42, 80, 176); /* oklch */ color: oklch(46.2% 0.159 264.6);
Tailwind
colors: {
custom: {
50: '#7780c8',
500: '#2a50b0',
950: '#000000',
},
}SCSS
$custom: #2a50b0; $custom-light: #7780c8; $custom-dark: #000000;
JSON
{
"hex": "#2a50b0",
"rgb": {
"r": 42,
"g": 80,
"b": 176
},
"hsl": {
"h": 222.985,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.46175,
"c": 0.15941,
"h": 264.6
},
"luminance": 0.09364
}Semantic roles & 50–950 ramp
primary
#2A50B0
secondary
#C6AE70
accent
#B743E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82