#2D50BC#2D50BC
#2D50BC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.175 H 266.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2D50BC |
|---|---|
| RGB | rgb(45, 80, 188) |
| HSL | hsl(225, 61%, 46%) |
| HSV | hsv(225, 76%, 74%) |
| CMYK | cmyk(76.1%, 57.4%, 0%, 26.3%) |
| CIE-LAB | lab(37.71, 26.28, -60.45) |
| CIE-LCH | lch(37.71, 65.92, 293.50°) |
| OKLab | oklab(47.27% -0.0119 -0.1745) |
| OKLCH | oklch(47.27% 0.175 266.1) |
| XYZ | xyz(13.0248, 9.9246, 48.7964) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.72
Cobalt
#0047AB
ΔE00 4.37
Blue Blue
#2242C7
ΔE00 4.64
Blue (survey)
#0343DF
ΔE00 5.75
Warm Blue
#4B57DB
ΔE00 6.19
Denim Blue
#3B5B92
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D50BC #BC992D
analogous
#2D97BC #2D50BC #522DBC
triadic
#2D50BC #BC2D50 #50BC2D
tetradic
#2D50BC #BC2D97 #BC992D #2DBC52
square
#2D50BC #BC2D97 #BC992D #2DBC52
split-complementary
#2D50BC #BC522D #97BC2D
monochromatic
#152659 #213B8B #2D50BC #5171D5 #8299E1
Accessibility & contrast
On white
7.03
#2D50BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2D50BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D50BC
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D50BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D50BC | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2d50bc; /* rgb */ color: rgb(45, 80, 188); /* oklch */ color: oklch(47.3% 0.175 266.1);
Tailwind
colors: {
custom: {
50: '#7b80d1',
500: '#2d50bc',
950: '#000000',
},
}SCSS
$custom: #2d50bc; $custom-light: #7b80d1; $custom-dark: #000000;
JSON
{
"hex": "#2d50bc",
"rgb": {
"r": 45,
"g": 80,
"b": 188
},
"hsl": {
"h": 225.315,
"s": 61.373,
"l": 45.686
},
"oklch": {
"l": 0.47273,
"c": 0.17488,
"h": 266.1
},
"luminance": 0.09926
}Semantic roles & 50–950 ramp
primary
#2D50BC
secondary
#CAB77B
accent
#BD43E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82