#2F52B8#2F52B8
#2F52B8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.166 H 265.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52B8 |
|---|---|
| RGB | rgb(47, 82, 184) |
| HSL | hsl(225, 59%, 45%) |
| HSV | hsv(225, 74%, 72%) |
| CMYK | cmyk(74.5%, 55.4%, 0%, 27.8%) |
| CIE-LAB | lab(38.02, 23.71, -57.60) |
| CIE-LCH | lch(38.02, 62.28, 292.37°) |
| OKLab | oklab(47.44% -0.0119 -0.166) |
| OKLCH | oklch(47.44% 0.166 265.9) |
| XYZ | xyz(12.8383, 10.0982, 46.6106) |
| Luminance | 0.1010 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.37
Cobalt
#0047AB
ΔE00 4.46
Blue Blue
#2242C7
ΔE00 5.49
Denim Blue
#3B5B92
ΔE00 5.97
Denim
#1560BD
ΔE00 6.13
Dusk Blue
#26538D
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52B8 #B8952F
analogous
#2F96B8 #2F52B8 #512FB8
triadic
#2F52B8 #B82F52 #52B82F
tetradic
#2F52B8 #B82F96 #B8952F #2FB851
square
#2F52B8 #B82F96 #B8952F #2FB851
split-complementary
#2F52B8 #B8512F #96B82F
monochromatic
#162757 #233C87 #2F52B8 #5273D3 #829ADF
Accessibility & contrast
On white
6.95
#2F52B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#2F52B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F52B8
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52B8 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f52b8; /* rgb */ color: rgb(47, 82, 184); /* oklch */ color: oklch(47.4% 0.166 265.9);
Tailwind
colors: {
custom: {
50: '#7b82ce',
500: '#2f52b8',
950: '#000000',
},
}SCSS
$custom: #2f52b8; $custom-light: #7b82ce; $custom-dark: #000000;
JSON
{
"hex": "#2f52b8",
"rgb": {
"r": 47,
"g": 82,
"b": 184
},
"hsl": {
"h": 224.672,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.47435,
"c": 0.16644,
"h": 265.9
},
"luminance": 0.101
}Semantic roles & 50–950 ramp
primary
#2F52B8
secondary
#C8B47B
accent
#BA45E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82