#2F50AB#2F50AB
#2F50AB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.151 H 265.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50AB |
|---|---|
| RGB | rgb(47, 80, 171) |
| HSL | hsl(224, 57%, 43%) |
| HSV | hsv(224, 73%, 67%) |
| CMYK | cmyk(72.5%, 53.2%, 0%, 32.9%) |
| CIE-LAB | lab(36.52, 20.13, -52.34) |
| CIE-LCH | lch(36.52, 56.08, 291.03°) |
| OKLab | oklab(46% -0.0113 -0.1506) |
| OKLCH | oklch(46% 0.151 265.7) |
| XYZ | xyz(11.3891, 9.2807, 39.7113) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.82
Cobalt
#0047AB
ΔE00 3.52
Cobalt (survey)
#1E488F
ΔE00 4.83
Denim Blue
#3B5B92
ΔE00 5.16
Dusk Blue
#26538D
ΔE00 5.17
Blue Blue
#2242C7
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50AB #AB8A2F
analogous
#2F8EAB #2F50AB #4C2FAB
triadic
#2F50AB #AB2F50 #50AB2F
tetradic
#2F50AB #AB2F8E #AB8A2F #2FAB4C
square
#2F50AB #AB2F8E #AB8A2F #2FAB4C
split-complementary
#2F50AB #AB4C2F #8EAB2F
monochromatic
#15234B #223A7B #2F50AB #4A6DCD #7A94DA
Accessibility & contrast
On white
7.35
#2F50AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2F50AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50AB
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50AB | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#105CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f50ab; /* rgb */ color: rgb(47, 80, 171); /* oklch */ color: oklch(46.0% 0.151 265.7);
Tailwind
colors: {
custom: {
50: '#7880c5',
500: '#2f50ab',
950: '#000000',
},
}SCSS
$custom: #2f50ab; $custom-light: #7880c5; $custom-dark: #000000;
JSON
{
"hex": "#2f50ab",
"rgb": {
"r": 47,
"g": 80,
"b": 171
},
"hsl": {
"h": 224.032,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.46,
"c": 0.15102,
"h": 265.7
},
"luminance": 0.09282
}Semantic roles & 50–950 ramp
primary
#2F50AB
secondary
#C3AE73
accent
#B848E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82