#2F52A2#2F52A2
#2F52A2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.136 H 264.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52A2 |
|---|---|
| RGB | rgb(47, 82, 162) |
| HSL | hsl(222, 55%, 41%) |
| HSV | hsv(222, 71%, 64%) |
| CMYK | cmyk(71%, 49.4%, 0%, 36.5%) |
| CIE-LAB | lab(36.45, 15.40, -47.08) |
| CIE-LCH | lch(36.45, 49.53, 288.11°) |
| OKLab | oklab(45.75% -0.0141 -0.1351) |
| OKLCH | oklch(45.75% 0.136 264) |
| XYZ | xyz(10.7089, 9.2465, 35.3958) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.32
Dusk Blue
#26538D
ΔE00 3.74
Denim Blue
#3B5B92
ΔE00 3.84
Cobalt
#0047AB
ΔE00 4.07
Cobalt (survey)
#1E488F
ΔE00 4.11
Light Navy Blue
#2E5A88
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52A2 #A27F2F
analogous
#2F8BA2 #2F52A2 #452FA2
triadic
#2F52A2 #A22F52 #52A22F
tetradic
#2F52A2 #A22F8B #A27F2F #2FA245
square
#2F52A2 #A22F8B #A27F2F #2FA245
split-complementary
#2F52A2 #A2452F #8BA22F
monochromatic
#132243 #213A73 #2F52A2 #456DC9 #7592D7
Accessibility & contrast
On white
7.37
#2F52A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2F52A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F52A2
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52A2 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265BA5
Deuteranopia (green-blind)
#0251A0
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f52a2; /* rgb */ color: rgb(47, 82, 162); /* oklch */ color: oklch(45.8% 0.136 264.0);
Tailwind
colors: {
custom: {
50: '#7682be',
500: '#2f52a2',
950: '#000000',
},
}SCSS
$custom: #2f52a2; $custom-light: #7682be; $custom-dark: #000000;
JSON
{
"hex": "#2f52a2",
"rgb": {
"r": 47,
"g": 82,
"b": 162
},
"hsl": {
"h": 221.739,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.45751,
"c": 0.13581,
"h": 264
},
"luminance": 0.09248
}Semantic roles & 50–950 ramp
primary
#2F52A2
secondary
#BFA66E
accent
#B149DE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81