#2C50AB#2C50AB
#2C50AB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.152 H 264.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C50AB |
|---|---|
| RGB | rgb(44, 80, 171) |
| HSL | hsl(223, 59%, 42%) |
| HSV | hsv(223, 74%, 67%) |
| CMYK | cmyk(74.3%, 53.2%, 0%, 32.9%) |
| CIE-LAB | lab(36.39, 19.72, -52.56) |
| CIE-LCH | lch(36.39, 56.14, 290.56°) |
| OKLab | oklab(45.87% -0.0139 -0.1513) |
| OKLCH | oklch(45.87% 0.152 264.8) |
| XYZ | xyz(11.2555, 9.2119, 39.7051) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.56
Cobalt
#0047AB
ΔE00 3.32
Cobalt (survey)
#1E488F
ΔE00 4.65
Dusk Blue
#26538D
ΔE00 4.92
Denim Blue
#3B5B92
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C50AB #AB872C
analogous
#2C90AB #2C50AB #472CAB
triadic
#2C50AB #AB2C50 #50AB2C
tetradic
#2C50AB #AB2C90 #AB872C #2CAB47
square
#2C50AB #AB2C90 #AB872C #2CAB47
split-complementary
#2C50AB #AB472C #90AB2C
monochromatic
#13224A #1F397A #2C50AB #456CCF #7693DC
Accessibility & contrast
On white
7.39
#2C50AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2C50AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C50AB
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C50AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C50AB | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F5CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c50ab; /* rgb */ color: rgb(44, 80, 171); /* oklch */ color: oklch(45.9% 0.152 264.8);
Tailwind
colors: {
custom: {
50: '#7780c5',
500: '#2c50ab',
950: '#000000',
},
}SCSS
$custom: #2c50ab; $custom-light: #7780c5; $custom-dark: #000000;
JSON
{
"hex": "#2c50ab",
"rgb": {
"r": 44,
"g": 80,
"b": 171
},
"hsl": {
"h": 222.992,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.45866,
"c": 0.15193,
"h": 264.8
},
"luminance": 0.09213
}Semantic roles & 50–950 ramp
primary
#2C50AB
secondary
#C3AC6F
accent
#B646E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82