#2F52B7#2F52B7
#2F52B7 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.165 H 265.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52B7 |
|---|---|
| RGB | rgb(47, 82, 183) |
| HSL | hsl(225, 59%, 45%) |
| HSV | hsv(225, 74%, 72%) |
| CMYK | cmyk(74.3%, 55.2%, 0%, 28.2%) |
| CIE-LAB | lab(37.94, 23.33, -57.13) |
| CIE-LCH | lch(37.94, 61.71, 292.21°) |
| OKLab | oklab(47.36% -0.012 -0.1646) |
| OKLCH | oklch(47.36% 0.165 265.8) |
| XYZ | xyz(12.7338, 10.0564, 46.0605) |
| Luminance | 0.1006 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.34
Cobalt
#0047AB
ΔE00 4.39
Blue Blue
#2242C7
ΔE00 5.56
Denim Blue
#3B5B92
ΔE00 5.86
Denim
#1560BD
ΔE00 6.11
Dusk Blue
#26538D
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52B7 #B7942F
analogous
#2F96B7 #2F52B7 #502FB7
triadic
#2F52B7 #B72F52 #52B72F
tetradic
#2F52B7 #B72F96 #B7942F #2FB750
square
#2F52B7 #B72F96 #B7942F #2FB750
split-complementary
#2F52B7 #B7502F #96B72F
monochromatic
#162656 #223C86 #2F52B7 #5172D2 #829ADF
Accessibility & contrast
On white
6.97
#2F52B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2F52B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F52B7
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52B7 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f52b7; /* rgb */ color: rgb(47, 82, 183); /* oklch */ color: oklch(47.4% 0.165 265.8);
Tailwind
colors: {
custom: {
50: '#7b82cd',
500: '#2f52b7',
950: '#000000',
},
}SCSS
$custom: #2f52b7; $custom-light: #7b82cd; $custom-dark: #000000;
JSON
{
"hex": "#2f52b7",
"rgb": {
"r": 47,
"g": 82,
"b": 183
},
"hsl": {
"h": 224.559,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.47355,
"c": 0.16508,
"h": 265.8
},
"luminance": 0.10058
}Semantic roles & 50–950 ramp
primary
#2F52B7
secondary
#C8B47A
accent
#BA45E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82