#2D54BC#2D54BC
#2D54BC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.170 H 265.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2D54BC |
|---|---|
| RGB | rgb(45, 84, 188) |
| HSL | hsl(224, 61%, 46%) |
| HSV | hsv(224, 76%, 74%) |
| CMYK | cmyk(76.1%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(38.77, 23.66, -58.72) |
| CIE-LCH | lch(38.77, 63.31, 291.95°) |
| OKLab | oklab(48.08% -0.0148 -0.1693) |
| OKLCH | oklch(48.08% 0.17 265) |
| XYZ | xyz(13.3264, 10.5279, 48.8969) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.18
Cobalt
#0047AB
ΔE00 5.00
Denim
#1560BD
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.95
Denim Blue
#3B5B92
ΔE00 5.97
Warm Blue
#4B57DB
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D54BC #BC952D
analogous
#2D9BBC #2D54BC #4D2DBC
triadic
#2D54BC #BC2D54 #54BC2D
tetradic
#2D54BC #BC2D9B #BC952D #2DBC4D
square
#2D54BC #BC2D9B #BC952D #2DBC4D
split-complementary
#2D54BC #BC4D2D #9BBC2D
monochromatic
#152859 #213E8B #2D54BC #5175D5 #829CE1
Accessibility & contrast
On white
6.76
#2D54BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2D54BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D54BC
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D54BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D54BC | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2d54bc; /* rgb */ color: rgb(45, 84, 188); /* oklch */ color: oklch(48.1% 0.170 265.0);
Tailwind
colors: {
custom: {
50: '#7b83d1',
500: '#2d54bc',
950: '#000000',
},
}SCSS
$custom: #2d54bc; $custom-light: #7b83d1; $custom-dark: #000000;
JSON
{
"hex": "#2d54bc",
"rgb": {
"r": 45,
"g": 84,
"b": 188
},
"hsl": {
"h": 223.636,
"s": 61.373,
"l": 45.686
},
"oklch": {
"l": 0.48076,
"c": 0.16996,
"h": 265
},
"luminance": 0.10529
}Semantic roles & 50–950 ramp
primary
#2D54BC
secondary
#CAB47B
accent
#B943E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82