#2F71AB#2F71AB
#2F71AB is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.4% C 0.113 H 248.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F71AB |
|---|---|
| RGB | rgb(47, 113, 171) |
| HSL | hsl(208, 57%, 43%) |
| HSV | hsv(208, 73%, 67%) |
| CMYK | cmyk(72.5%, 33.9%, 0%, 32.9%) |
| CIE-LAB | lab(46.11, -1.03, -37.00) |
| CIE-LCH | lch(46.11, 37.02, 268.41°) |
| OKLab | oklab(53.42% -0.0419 -0.105) |
| OKLCH | oklch(53.42% 0.113 248.3) |
| XYZ | xyz(14.4253, 15.3533, 40.7234) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.44
Muted Blue
#3B719F
ΔE00 1.76
Bluish
#2976BB
ΔE00 2.44
Medium Blue
#2C6FBB
ΔE00 2.47
Mid Blue
#276AB3
ΔE00 3.00
Dull Blue
#49759C
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F71AB #AB692F
analogous
#2FABA7 #2F71AB #2F33AB
triadic
#2F71AB #AB2F71 #71AB2F
tetradic
#2F71AB #A72FAB #AB692F #33AB2F
square
#2F71AB #A72FAB #AB692F #33AB2F
split-complementary
#2F71AB #AB2F33 #ABA72F
monochromatic
#15324B #22517B #2F71AB #4A90CD #7AADDA
Accessibility & contrast
On white
5.16
#2F71AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#2F71AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F71AB
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F71AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F71AB | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5774AD
Deuteranopia (green-blind)
#4568AA
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2f71ab; /* rgb */ color: rgb(47, 113, 171); /* oklch */ color: oklch(53.4% 0.113 248.3);
Tailwind
colors: {
custom: {
50: '#7799c4',
500: '#2f71ab',
950: '#000000',
},
}SCSS
$custom: #2f71ab; $custom-light: #7799c4; $custom-dark: #000000;
JSON
{
"hex": "#2f71ab",
"rgb": {
"r": 47,
"g": 113,
"b": 171
},
"hsl": {
"h": 208.065,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.53419,
"c": 0.11306,
"h": 248.3
},
"luminance": 0.15355
}Semantic roles & 50–950 ramp
primary
#2F71AB
secondary
#C39873
accent
#8F48E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81