#2F7FA6#2F7FA6
#2F7FA6 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.097 H 233.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7FA6 |
|---|---|
| RGB | rgb(47, 127, 166) |
| HSL | hsl(200, 56%, 42%) |
| HSV | hsv(200, 72%, 65%) |
| CMYK | cmyk(71.7%, 23.5%, 0%, 34.9%) |
| CIE-LAB | lab(50.14, -11.08, -27.79) |
| CIE-LCH | lch(50.14, 29.91, 248.27°) |
| OKLab | oklab(56.53% -0.0577 -0.0781) |
| OKLCH | oklch(56.53% 0.097 233.6) |
| XYZ | xyz(15.6419, 18.5345, 38.8221) |
| Luminance | 0.1854 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 2.48
Dirty Blue
#3F829D
ΔE00 3.78
Nice Blue
#107AB0
ΔE00 3.85
Stormy Blue
#507B9C
ΔE00 4.82
Steel Blue
#4682B4
ΔE00 5.35
Ocean Blue (survey)
#03719C
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7FA6 #A6562F
analogous
#2FA692 #2F7FA6 #2F43A6
triadic
#2F7FA6 #A62F7F #7FA62F
tetradic
#2F7FA6 #922FA6 #A6562F #43A62F
square
#2F7FA6 #922FA6 #A6562F #43A62F
split-complementary
#2F7FA6 #A62F43 #A6922F
monochromatic
#143647 #215B76 #2F7FA6 #47A0CB #77B9D8
Accessibility & contrast
On white
4.46
#2F7FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#2F7FA6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7FA6
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7FA6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7FA6 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C7EA8
Deuteranopia (green-blind)
#5C72A5
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f7fa6; /* rgb */ color: rgb(47, 127, 166); /* oklch */ color: oklch(56.5% 0.097 233.6);
Tailwind
colors: {
custom: {
50: '#77a4c0',
500: '#2f7fa6',
950: '#000000',
},
}SCSS
$custom: #2f7fa6; $custom-light: #77a4c0; $custom-dark: #000000;
JSON
{
"hex": "#2f7fa6",
"rgb": {
"r": 47,
"g": 127,
"b": 166
},
"hsl": {
"h": 199.664,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.56527,
"c": 0.09709,
"h": 233.6
},
"luminance": 0.18536
}Semantic roles & 50–950 ramp
primary
#2F7FA6
secondary
#C18B70
accent
#7A49DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81