#2F52BB#2F52BB
#2F52BB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.171 H 266.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52BB |
|---|---|
| RGB | rgb(47, 82, 187) |
| HSL | hsl(225, 60%, 46%) |
| HSV | hsv(225, 75%, 73%) |
| CMYK | cmyk(74.9%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(38.24, 24.83, -58.99) |
| CIE-LCH | lch(38.24, 64.00, 292.83°) |
| OKLab | oklab(47.68% -0.0117 -0.1701) |
| OKLCH | oklch(47.68% 0.171 266.1) |
| XYZ | xyz(13.1561, 10.2253, 48.2844) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.52
Cobalt
#0047AB
ΔE00 4.68
Blue Blue
#2242C7
ΔE00 5.29
Warm Blue
#4B57DB
ΔE00 6.13
Denim
#1560BD
ΔE00 6.21
Blue (survey)
#0343DF
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52BB #BB982F
analogous
#2F98BB #2F52BB #522FBB
triadic
#2F52BB #BB2F52 #52BB2F
tetradic
#2F52BB #BB2F98 #BB982F #2FBB52
square
#2F52BB #BB2F98 #BB982F #2FBB52
split-complementary
#2F52BB #BB522F #98BB2F
monochromatic
#162759 #233D8A #2F52BB #5373D4 #849BE0
Accessibility & contrast
On white
6.90
#2F52BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2F52BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F52BB
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52BB | 1.00 | 6.90 | 3.05 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f52bb; /* rgb */ color: rgb(47, 82, 187); /* oklch */ color: oklch(47.7% 0.171 266.1);
Tailwind
colors: {
custom: {
50: '#7b82d0',
500: '#2f52bb',
950: '#000000',
},
}SCSS
$custom: #2f52bb; $custom-light: #7b82d0; $custom-dark: #000000;
JSON
{
"hex": "#2f52bb",
"rgb": {
"r": 47,
"g": 82,
"b": 187
},
"hsl": {
"h": 225,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.47676,
"c": 0.17051,
"h": 266.1
},
"luminance": 0.10227
}Semantic roles & 50–950 ramp
primary
#2F52BB
secondary
#C9B67C
accent
#BB45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82