#2F7CA8#2F7CA8
#2F7CA8 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.101 H 237.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7CA8 |
|---|---|
| RGB | rgb(47, 124, 168) |
| HSL | hsl(202, 56%, 42%) |
| HSV | hsv(202, 72%, 66%) |
| CMYK | cmyk(72%, 26.2%, 0%, 34.1%) |
| CIE-LAB | lab(49.31, -8.65, -30.24) |
| CIE-LCH | lch(49.31, 31.46, 254.04°) |
| OKLab | oklab(55.9% -0.0539 -0.0852) |
| OKLCH | oklch(55.9% 0.101 237.7) |
| XYZ | xyz(15.4451, 17.8451, 39.6686) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.09
Cerulean
#007BA7
ΔE00 2.69
Stormy Blue
#507B9C
ΔE00 4.25
Steel Blue
#4682B4
ΔE00 4.41
Ocean Blue (survey)
#03719C
ΔE00 4.82
Dull Blue
#49759C
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7CA8 #A85B2F
analogous
#2FA898 #2F7CA8 #2F40A8
triadic
#2F7CA8 #A82F7C #7CA82F
tetradic
#2F7CA8 #982FA8 #A85B2F #40A82F
square
#2F7CA8 #982FA8 #A85B2F #40A82F
split-complementary
#2F7CA8 #A82F40 #A8982F
monochromatic
#143548 #225978 #2F7CA8 #489CCC #78B6D9
Accessibility & contrast
On white
4.60
#2F7CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#2F7CA8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7CA8
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7CA8 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#677CAA
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f7ca8; /* rgb */ color: rgb(47, 124, 168); /* oklch */ color: oklch(55.9% 0.101 237.7);
Tailwind
colors: {
custom: {
50: '#77a1c2',
500: '#2f7ca8',
950: '#000000',
},
}SCSS
$custom: #2f7ca8; $custom-light: #77a1c2; $custom-dark: #000000;
JSON
{
"hex": "#2f7ca8",
"rgb": {
"r": 47,
"g": 124,
"b": 168
},
"hsl": {
"h": 201.818,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.55896,
"c": 0.10084,
"h": 237.7
},
"luminance": 0.17847
}Semantic roles & 50–950 ramp
primary
#2F7CA8
secondary
#C18E71
accent
#7F48E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81