#2C50BA#2C50BA
#2C50BA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.172 H 265.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2C50BA |
|---|---|
| RGB | rgb(44, 80, 186) |
| HSL | hsl(225, 62%, 45%) |
| HSV | hsv(225, 76%, 73%) |
| CMYK | cmyk(76.3%, 57%, 0%, 27.1%) |
| CIE-LAB | lab(37.51, 25.42, -59.60) |
| CIE-LCH | lch(37.51, 64.79, 293.10°) |
| OKLab | oklab(47.07% -0.0128 -0.172) |
| OKLCH | oklch(47.07% 0.172 265.7) |
| XYZ | xyz(12.7672, 9.8165, 47.6668) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.50
Cobalt
#0047AB
ΔE00 4.13
Blue Blue
#2242C7
ΔE00 4.80
Blue (survey)
#0343DF
ΔE00 5.99
Warm Blue
#4B57DB
ΔE00 6.49
Denim Blue
#3B5B92
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C50BA #BA962C
analogous
#2C97BA #2C50BA #4F2CBA
triadic
#2C50BA #BA2C50 #50BA2C
tetradic
#2C50BA #BA2C97 #BA962C #2CBA4F
square
#2C50BA #BA2C97 #BA962C #2CBA4F
split-complementary
#2C50BA #BA4F2C #97BA2C
monochromatic
#152557 #203B89 #2C50BA #4E70D5 #8098E1
Accessibility & contrast
On white
7.09
#2C50BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2C50BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C50BA
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C50BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C50BA | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 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: #2c50ba; /* rgb */ color: rgb(44, 80, 186); /* oklch */ color: oklch(47.1% 0.172 265.7);
Tailwind
colors: {
custom: {
50: '#7a80d0',
500: '#2c50ba',
950: '#000000',
},
}SCSS
$custom: #2c50ba; $custom-light: #7a80d0; $custom-dark: #000000;
JSON
{
"hex": "#2c50ba",
"rgb": {
"r": 44,
"g": 80,
"b": 186
},
"hsl": {
"h": 224.789,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.47067,
"c": 0.17246,
"h": 265.7
},
"luminance": 0.09818
}Semantic roles & 50–950 ramp
primary
#2C50BA
secondary
#CAB578
accent
#BC43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82