#2F71A1#2F71A1
#2F71A1 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.101 H 243.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2F71A1 |
|---|---|
| RGB | rgb(47, 113, 161) |
| HSL | hsl(205, 55%, 41%) |
| HSV | hsv(205, 71%, 63%) |
| CMYK | cmyk(70.8%, 29.8%, 0%, 36.9%) |
| CIE-LAB | lab(45.62, -4.66, -31.92) |
| CIE-LCH | lch(45.62, 32.26, 261.70°) |
| OKLab | oklab(52.86% -0.0449 -0.0902) |
| OKLCH | oklch(52.86% 0.101 243.5) |
| XYZ | xyz(13.5080, 14.9863, 35.8921) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.53
Flat Blue
#3C73A8
ΔE00 2.60
Dull Blue
#49759C
ΔE00 3.45
Bluish
#2976BB
ΔE00 3.79
Nice Blue
#107AB0
ΔE00 4.07
Ocean Blue (survey)
#03719C
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F71A1 #A15F2F
analogous
#2FA198 #2F71A1 #2F38A1
triadic
#2F71A1 #A12F71 #71A12F
tetradic
#2F71A1 #982FA1 #A15F2F #38A12F
square
#2F71A1 #982FA1 #A15F2F #38A12F
split-complementary
#2F71A1 #A12F38 #A1982F
monochromatic
#132F42 #215072 #2F71A1 #4591C9 #74ADD6
Accessibility & contrast
On white
5.25
#2F71A1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#2F71A1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F71A1
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F71A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F71A1 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B72A3
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2f71a1; /* rgb */ color: rgb(47, 113, 161); /* oklch */ color: oklch(52.9% 0.101 243.5);
Tailwind
colors: {
custom: {
50: '#7699bd',
500: '#2f71a1',
950: '#000000',
},
}SCSS
$custom: #2f71a1; $custom-light: #7699bd; $custom-dark: #000000;
JSON
{
"hex": "#2f71a1",
"rgb": {
"r": 47,
"g": 113,
"b": 161
},
"hsl": {
"h": 205.263,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.52863,
"c": 0.10079,
"h": 243.5
},
"luminance": 0.14988
}Semantic roles & 50–950 ramp
primary
#2F71A1
secondary
#BE906E
accent
#884ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D12
muted
#7B7E81