#2F50AF#2F50AF
#2F50AF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.157 H 266.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2F50AF |
|---|---|
| RGB | rgb(47, 80, 175) |
| HSL | hsl(225, 58%, 44%) |
| HSV | hsv(225, 73%, 69%) |
| CMYK | cmyk(73.1%, 54.3%, 0%, 31.4%) |
| CIE-LAB | lab(36.81, 21.63, -54.25) |
| CIE-LCH | lch(36.81, 58.40, 291.74°) |
| OKLab | oklab(46.31% -0.011 -0.1562) |
| OKLCH | oklch(46.31% 0.157 266) |
| XYZ | xyz(11.7761, 9.4356, 41.7497) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.66
Cobalt
#0047AB
ΔE00 3.63
Cobalt (survey)
#1E488F
ΔE00 5.31
Denim Blue
#3B5B92
ΔE00 5.53
Dusk Blue
#26538D
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F50AF #AF8E2F
analogous
#2F90AF #2F50AF #4E2FAF
triadic
#2F50AF #AF2F50 #50AF2F
tetradic
#2F50AF #AF2F90 #AF8E2F #2FAF4E
square
#2F50AF #AF2F90 #AF8E2F #2FAF4E
split-complementary
#2F50AF #AF4E2F #90AF2F
monochromatic
#15244F #223A7F #2F50AF #4C6ECF #7C95DC
Accessibility & contrast
On white
7.27
#2F50AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2F50AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F50AF
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F50AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F50AF | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#035DB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f50af; /* rgb */ color: rgb(47, 80, 175); /* oklch */ color: oklch(46.3% 0.157 266.0);
Tailwind
colors: {
custom: {
50: '#7980c8',
500: '#2f50af',
950: '#000000',
},
}SCSS
$custom: #2f50af; $custom-light: #7980c8; $custom-dark: #000000;
JSON
{
"hex": "#2f50af",
"rgb": {
"r": 47,
"g": 80,
"b": 175
},
"hsl": {
"h": 224.531,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.46312,
"c": 0.15658,
"h": 266
},
"luminance": 0.09437
}Semantic roles & 50–950 ramp
primary
#2F50AF
secondary
#C4B075
accent
#B947E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82