#2D52B3#2D52B3
#2D52B3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.160 H 265.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2D52B3 |
|---|---|
| RGB | rgb(45, 82, 179) |
| HSL | hsl(223, 60%, 44%) |
| HSV | hsv(223, 75%, 70%) |
| CMYK | cmyk(74.9%, 54.2%, 0%, 29.8%) |
| CIE-LAB | lab(37.56, 21.57, -55.39) |
| CIE-LCH | lch(37.56, 59.44, 291.27°) |
| OKLab | oklab(46.95% -0.0139 -0.1596) |
| OKLCH | oklch(46.95% 0.16 265) |
| XYZ | xyz(12.2333, 9.8458, 43.8948) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.06
Cobalt
#0047AB
ΔE00 4.04
Denim Blue
#3B5B92
ΔE00 5.40
Dusk Blue
#26538D
ΔE00 5.67
Cobalt (survey)
#1E488F
ΔE00 5.83
Denim
#1560BD
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D52B3 #B38E2D
analogous
#2D95B3 #2D52B3 #4B2DB3
triadic
#2D52B3 #B32D52 #52B32D
tetradic
#2D52B3 #B32D95 #B38E2D #2DB34B
square
#2D52B3 #B32D95 #B38E2D #2DB34B
split-complementary
#2D52B3 #B34B2D #95B32D
monochromatic
#142551 #213C82 #2D52B3 #4B70D2 #7C97DE
Accessibility & contrast
On white
7.07
#2D52B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2D52B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D52B3
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D52B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D52B3 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#025FB6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2d52b3; /* rgb */ color: rgb(45, 82, 179); /* oklch */ color: oklch(47.0% 0.160 265.0);
Tailwind
colors: {
custom: {
50: '#7982ca',
500: '#2d52b3',
950: '#000000',
},
}SCSS
$custom: #2d52b3; $custom-light: #7982ca; $custom-dark: #000000;
JSON
{
"hex": "#2d52b3",
"rgb": {
"r": 45,
"g": 82,
"b": 179
},
"hsl": {
"h": 223.433,
"s": 59.821,
"l": 43.922
},
"oklch": {
"l": 0.46952,
"c": 0.16018,
"h": 265
},
"luminance": 0.09847
}Semantic roles & 50–950 ramp
primary
#2D52B3
secondary
#C7B075
accent
#B745E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82