#2F7FA1#2F7FA1
#2F7FA1 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.092 H 229.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7FA1 |
|---|---|
| RGB | rgb(47, 127, 161) |
| HSL | hsl(198, 55%, 41%) |
| HSV | hsv(198, 71%, 63%) |
| CMYK | cmyk(70.8%, 21.1%, 0%, 36.9%) |
| CIE-LAB | lab(49.92, -12.80, -25.21) |
| CIE-LCH | lch(49.92, 28.28, 243.08°) |
| OKLab | oklab(56.29% -0.0595 -0.0707) |
| OKLCH | oklch(56.29% 0.092 229.9) |
| XYZ | xyz(15.1921, 18.3546, 36.4534) |
| Luminance | 0.1836 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 2.47
Cerulean
#007BA7
ΔE00 3.09
Sea Blue
#047495
ΔE00 4.82
Nice Blue
#107AB0
ΔE00 5.37
Stormy Blue
#507B9C
ΔE00 5.52
Ocean Blue (survey)
#03719C
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7FA1 #A1512F
analogous
#2FA18A #2F7FA1 #2F46A1
triadic
#2F7FA1 #A12F7F #7FA12F
tetradic
#2F7FA1 #8A2FA1 #A1512F #46A12F
square
#2F7FA1 #8A2FA1 #A1512F #46A12F
split-complementary
#2F7FA1 #A12F46 #A18A2F
monochromatic
#133442 #215A72 #2F7FA1 #45A1C9 #74B9D6
Accessibility & contrast
On white
4.50
#2F7FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#2F7FA1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7FA1
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7FA1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7FA1 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E7DA3
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f7fa1; /* rgb */ color: rgb(47, 127, 161); /* oklch */ color: oklch(56.3% 0.092 229.9);
Tailwind
colors: {
custom: {
50: '#76a4bd',
500: '#2f7fa1',
950: '#000000',
},
}SCSS
$custom: #2f7fa1; $custom-light: #76a4bd; $custom-dark: #000000;
JSON
{
"hex": "#2f7fa1",
"rgb": {
"r": 47,
"g": 127,
"b": 161
},
"hsl": {
"h": 197.895,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.56285,
"c": 0.09242,
"h": 229.9
},
"luminance": 0.18356
}Semantic roles & 50–950 ramp
primary
#2F7FA1
secondary
#BE866E
accent
#764ADE
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81