#2D54C4#2D54C4
#2D54C4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.181 H 265.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2D54C4 |
|---|---|
| RGB | rgb(45, 84, 196) |
| HSL | hsl(225, 63%, 47%) |
| HSV | hsv(225, 77%, 77%) |
| CMYK | cmyk(77%, 57.1%, 0%, 23.1%) |
| CIE-LAB | lab(39.38, 26.68, -62.40) |
| CIE-LCH | lch(39.38, 67.86, 293.15°) |
| OKLab | oklab(48.73% -0.0143 -0.1801) |
| OKLCH | oklch(48.73% 0.181 265.5) |
| XYZ | xyz(14.2128, 10.8824, 53.5653) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.88
Warm Blue
#4B57DB
ΔE00 5.22
Blue Blue
#2242C7
ΔE00 5.61
Azul
#1D5DEC
ΔE00 5.64
Cobalt
#0047AB
ΔE00 5.67
Denim
#1560BD
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D54C4 #C49D2D
analogous
#2DA0C4 #2D54C4 #512DC4
triadic
#2D54C4 #C42D54 #54C42D
tetradic
#2D54C4 #C42DA0 #C49D2D #2DC451
square
#2D54C4 #C42DA0 #C49D2D #2DC451
split-complementary
#2D54C4 #C4512D #A0C42D
monochromatic
#162960 #223F92 #2D54C4 #5678D8 #889FE4
Accessibility & contrast
On white
6.61
#2D54C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2D54C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D54C4
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D54C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D54C4 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2d54c4; /* rgb */ color: rgb(45, 84, 196); /* oklch */ color: oklch(48.7% 0.181 265.5);
Tailwind
colors: {
custom: {
50: '#7d83d7',
500: '#2d54c4',
950: '#000000',
},
}SCSS
$custom: #2d54c4; $custom-light: #7d83d7; $custom-dark: #000000;
JSON
{
"hex": "#2d54c4",
"rgb": {
"r": 45,
"g": 84,
"b": 196
},
"hsl": {
"h": 224.503,
"s": 62.656,
"l": 47.255
},
"oklch": {
"l": 0.48725,
"c": 0.1807,
"h": 265.5
},
"luminance": 0.10884
}Semantic roles & 50–950 ramp
primary
#2D54C4
secondary
#CDB980
accent
#BB42E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83