#2F71B1#2F71B1
#2F71B1 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.121 H 250.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F71B1 |
|---|---|
| RGB | rgb(47, 113, 177) |
| HSL | hsl(210, 58%, 44%) |
| HSV | hsv(210, 73%, 69%) |
| CMYK | cmyk(73.4%, 36.2%, 0%, 30.6%) |
| CIE-LAB | lab(46.43, 1.18, -40.01) |
| CIE-LCH | lch(46.43, 40.03, 271.68°) |
| OKLab | oklab(53.77% -0.0402 -0.1138) |
| OKLCH | oklch(53.77% 0.121 250.5) |
| XYZ | xyz(15.0102, 15.5872, 43.8040) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.49
Medium Blue
#2C6FBB
ΔE00 1.59
Bluish
#2976BB
ΔE00 2.13
Muted Blue
#3B719F
ΔE00 2.41
Mid Blue
#276AB3
ΔE00 2.60
Windows Blue
#3778BF
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F71B1 #B16F2F
analogous
#2FB1B0 #2F71B1 #2F30B1
triadic
#2F71B1 #B12F71 #71B12F
tetradic
#2F71B1 #B02FB1 #B16F2F #30B12F
square
#2F71B1 #B02FB1 #B16F2F #30B12F
split-complementary
#2F71B1 #B12F30 #B1B02F
monochromatic
#153350 #225281 #2F71B1 #4D90D0 #7EAEDD
Accessibility & contrast
On white
5.10
#2F71B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#2F71B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F71B1
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F71B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F71B1 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5475B4
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f71b1; /* rgb */ color: rgb(47, 113, 177); /* oklch */ color: oklch(53.8% 0.121 250.5);
Tailwind
colors: {
custom: {
50: '#7899c8',
500: '#2f71b1',
950: '#000000',
},
}SCSS
$custom: #2f71b1; $custom-light: #7899c8; $custom-dark: #000000;
JSON
{
"hex": "#2f71b1",
"rgb": {
"r": 47,
"g": 113,
"b": 177
},
"hsl": {
"h": 209.538,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.53768,
"c": 0.12069,
"h": 250.5
},
"luminance": 0.15589
}Semantic roles & 50–950 ramp
primary
#2F71B1
secondary
#C59D76
accent
#9347E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82