#2D54C0#2D54C0
#2D54C0 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.175 H 265.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2D54C0 |
|---|---|
| RGB | rgb(45, 84, 192) |
| HSL | hsl(224, 62%, 46%) |
| HSV | hsv(224, 77%, 75%) |
| CMYK | cmyk(76.6%, 56.3%, 0%, 24.7%) |
| CIE-LAB | lab(39.08, 25.17, -60.57) |
| CIE-LCH | lch(39.08, 65.59, 292.57°) |
| OKLab | oklab(48.4% -0.0145 -0.1747) |
| OKLCH | oklch(48.4% 0.175 265.3) |
| XYZ | xyz(13.7636, 10.7028, 51.1994) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.50
Cobalt
#0047AB
ΔE00 5.32
Denim
#1560BD
ΔE00 5.60
Warm Blue
#4B57DB
ΔE00 5.70
Blue Blue
#2242C7
ΔE00 5.75
Azul
#1D5DEC
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D54C0 #C0992D
analogous
#2D9EC0 #2D54C0 #502DC0
triadic
#2D54C0 #C02D54 #54C02D
tetradic
#2D54C0 #C02D9E #C0992D #2DC050
square
#2D54C0 #C02D9E #C0992D #2DC050
split-complementary
#2D54C0 #C0502D #9EC02D
monochromatic
#16295D #213E8E #2D54C0 #5376D7 #859EE2
Accessibility & contrast
On white
6.69
#2D54C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2D54C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D54C0
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D54C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D54C0 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2d54c0; /* rgb */ color: rgb(45, 84, 192); /* oklch */ color: oklch(48.4% 0.175 265.3);
Tailwind
colors: {
custom: {
50: '#7c83d4',
500: '#2d54c0',
950: '#000000',
},
}SCSS
$custom: #2d54c0; $custom-light: #7c83d4; $custom-dark: #000000;
JSON
{
"hex": "#2d54c0",
"rgb": {
"r": 45,
"g": 84,
"b": 192
},
"hsl": {
"h": 224.082,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.48398,
"c": 0.17535,
"h": 265.3
},
"luminance": 0.10704
}Semantic roles & 50–950 ramp
primary
#2D54C0
secondary
#CCB77D
accent
#BA43E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83