#2F52A1#2F52A1
#2F52A1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.134 H 263.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52A1 |
|---|---|
| RGB | rgb(47, 82, 161) |
| HSL | hsl(222, 55%, 41%) |
| HSV | hsv(222, 71%, 63%) |
| CMYK | cmyk(70.8%, 49.1%, 0%, 36.9%) |
| CIE-LAB | lab(36.39, 15.02, -46.59) |
| CIE-LCH | lch(36.39, 48.95, 287.87°) |
| OKLab | oklab(45.68% -0.0143 -0.1336) |
| OKLCH | oklch(45.68% 0.134 263.9) |
| XYZ | xyz(10.6203, 9.2110, 34.9295) |
| Luminance | 0.0921 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.42
Dusk Blue
#26538D
ΔE00 3.62
Denim Blue
#3B5B92
ΔE00 3.76
Cobalt (survey)
#1E488F
ΔE00 4.02
Cobalt
#0047AB
ΔE00 4.11
Light Navy Blue
#2E5A88
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52A1 #A17E2F
analogous
#2F8BA1 #2F52A1 #452FA1
triadic
#2F52A1 #A12F52 #52A12F
tetradic
#2F52A1 #A12F8B #A17E2F #2FA145
square
#2F52A1 #A12F8B #A17E2F #2FA145
split-complementary
#2F52A1 #A1452F #8BA12F
monochromatic
#132242 #213A72 #2F52A1 #456DC9 #7492D6
Accessibility & contrast
On white
7.39
#2F52A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2F52A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F52A1
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52A1 | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275BA4
Deuteranopia (green-blind)
#06519F
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f52a1; /* rgb */ color: rgb(47, 82, 161); /* oklch */ color: oklch(45.7% 0.134 263.9);
Tailwind
colors: {
custom: {
50: '#7682bd',
500: '#2f52a1',
950: '#000000',
},
}SCSS
$custom: #2f52a1; $custom-light: #7682bd; $custom-dark: #000000;
JSON
{
"hex": "#2f52a1",
"rgb": {
"r": 47,
"g": 82,
"b": 161
},
"hsl": {
"h": 221.579,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.45679,
"c": 0.13438,
"h": 263.9
},
"luminance": 0.09212
}Semantic roles & 50–950 ramp
primary
#2F52A1
secondary
#BEA56E
accent
#B14ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81