#2F7CA7#2F7CA7
#2F7CA7 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.8% C 0.100 H 237.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7CA7 |
|---|---|
| RGB | rgb(47, 124, 167) |
| HSL | hsl(202, 56%, 42%) |
| HSV | hsv(202, 72%, 65%) |
| CMYK | cmyk(71.9%, 25.7%, 0%, 34.5%) |
| CIE-LAB | lab(49.26, -9.00, -29.73) |
| CIE-LCH | lch(49.26, 31.07, 253.15°) |
| OKLab | oklab(55.85% -0.0542 -0.0837) |
| OKLCH | oklch(55.85% 0.1 237.1) |
| XYZ | xyz(15.3523, 17.8079, 39.1799) |
| Luminance | 0.1781 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.28
Cerulean
#007BA7
ΔE00 2.50
Stormy Blue
#507B9C
ΔE00 4.26
Steel Blue
#4682B4
ΔE00 4.61
Ocean Blue (survey)
#03719C
ΔE00 4.72
Dull Blue
#49759C
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7CA7 #A75A2F
analogous
#2FA796 #2F7CA7 #2F40A7
triadic
#2F7CA7 #A72F7C #7CA72F
tetradic
#2F7CA7 #962FA7 #A75A2F #40A72F
square
#2F7CA7 #962FA7 #A75A2F #40A72F
split-complementary
#2F7CA7 #A72F40 #A7962F
monochromatic
#143547 #225977 #2F7CA7 #489CCB #78B6D9
Accessibility & contrast
On white
4.60
#2F7CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#2F7CA7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7CA7
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7CA7 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#687CA9
Deuteranopia (green-blind)
#5770A6
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f7ca7; /* rgb */ color: rgb(47, 124, 167); /* oklch */ color: oklch(55.8% 0.100 237.1);
Tailwind
colors: {
custom: {
50: '#77a1c1',
500: '#2f7ca7',
950: '#000000',
},
}SCSS
$custom: #2f7ca7; $custom-light: #77a1c1; $custom-dark: #000000;
JSON
{
"hex": "#2f7ca7",
"rgb": {
"r": 47,
"g": 124,
"b": 167
},
"hsl": {
"h": 201.5,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.55845,
"c": 0.09977,
"h": 237.1
},
"luminance": 0.1781
}Semantic roles & 50–950 ramp
primary
#2F7CA7
secondary
#C18E71
accent
#7F48DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81