#2F52AB#2F52AB
#2F52AB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.148 H 265.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52AB |
|---|---|
| RGB | rgb(47, 82, 171) |
| HSL | hsl(223, 57%, 43%) |
| HSV | hsv(223, 73%, 67%) |
| CMYK | cmyk(72.5%, 52%, 0%, 32.9%) |
| CIE-LAB | lab(37.07, 18.80, -51.45) |
| CIE-LCH | lch(37.07, 54.77, 290.08°) |
| OKLab | oklab(46.42% -0.013 -0.1479) |
| OKLCH | oklch(46.42% 0.148 265) |
| XYZ | xyz(11.5377, 9.5780, 39.7609) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.56
Cobalt
#0047AB
ΔE00 3.93
Denim Blue
#3B5B92
ΔE00 4.64
Dusk Blue
#26538D
ΔE00 4.83
Cobalt (survey)
#1E488F
ΔE00 5.01
Dusky Blue
#475F94
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52AB #AB882F
analogous
#2F90AB #2F52AB #4A2FAB
triadic
#2F52AB #AB2F52 #52AB2F
tetradic
#2F52AB #AB2F90 #AB882F #2FAB4A
square
#2F52AB #AB2F90 #AB882F #2FAB4A
split-complementary
#2F52AB #AB4A2F #90AB2F
monochromatic
#15244B #223B7B #2F52AB #4A6FCD #7A95DA
Accessibility & contrast
On white
7.20
#2F52AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2F52AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F52AB
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52AB | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195DAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f52ab; /* rgb */ color: rgb(47, 82, 171); /* oklch */ color: oklch(46.4% 0.148 265.0);
Tailwind
colors: {
custom: {
50: '#7882c5',
500: '#2f52ab',
950: '#000000',
},
}SCSS
$custom: #2f52ab; $custom-light: #7882c5; $custom-dark: #000000;
JSON
{
"hex": "#2f52ab",
"rgb": {
"r": 47,
"g": 82,
"b": 171
},
"hsl": {
"h": 223.065,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.46421,
"c": 0.14849,
"h": 265
},
"luminance": 0.09579
}Semantic roles & 50–950 ramp
primary
#2F52AB
secondary
#C3AC73
accent
#B548E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82