#2F52BA#2F52BA
#2F52BA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.169 H 266.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52BA |
|---|---|
| RGB | rgb(47, 82, 186) |
| HSL | hsl(225, 60%, 46%) |
| HSV | hsv(225, 75%, 73%) |
| CMYK | cmyk(74.7%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(38.17, 24.46, -58.53) |
| CIE-LCH | lch(38.17, 63.43, 292.68°) |
| OKLab | oklab(47.6% -0.0118 -0.1687) |
| OKLCH | oklch(47.6% 0.169 266) |
| XYZ | xyz(13.0494, 10.1827, 47.7226) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.46
Cobalt
#0047AB
ΔE00 4.60
Blue Blue
#2242C7
ΔE00 5.35
Denim Blue
#3B5B92
ΔE00 6.18
Denim
#1560BD
ΔE00 6.18
Warm Blue
#4B57DB
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52BA #BA972F
analogous
#2F97BA #2F52BA #512FBA
triadic
#2F52BA #BA2F52 #52BA2F
tetradic
#2F52BA #BA2F97 #BA972F #2FBA51
square
#2F52BA #BA2F97 #BA972F #2FBA51
split-complementary
#2F52BA #BA512F #97BA2F
monochromatic
#162758 #233C89 #2F52BA #5373D3 #849BE0
Accessibility & contrast
On white
6.92
#2F52BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2F52BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F52BA
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52BA | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f52ba; /* rgb */ color: rgb(47, 82, 186); /* oklch */ color: oklch(47.6% 0.169 266.0);
Tailwind
colors: {
custom: {
50: '#7b82cf',
500: '#2f52ba',
950: '#000000',
},
}SCSS
$custom: #2f52ba; $custom-light: #7b82cf; $custom-dark: #000000;
JSON
{
"hex": "#2f52ba",
"rgb": {
"r": 47,
"g": 82,
"b": 186
},
"hsl": {
"h": 224.892,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.47595,
"c": 0.16916,
"h": 266
},
"luminance": 0.10184
}Semantic roles & 50–950 ramp
primary
#2F52BA
secondary
#C9B67C
accent
#BB45E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82