#2F7CA6#2F7CA6
#2F7CA6 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.8% C 0.099 H 236.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7CA6 |
|---|---|
| RGB | rgb(47, 124, 166) |
| HSL | hsl(201, 56%, 42%) |
| HSV | hsv(201, 72%, 65%) |
| CMYK | cmyk(71.7%, 25.3%, 0%, 34.9%) |
| CIE-LAB | lab(49.22, -9.35, -29.22) |
| CIE-LCH | lch(49.22, 30.68, 252.25°) |
| OKLab | oklab(55.79% -0.0546 -0.0823) |
| OKLCH | oklch(55.79% 0.099 236.4) |
| XYZ | xyz(15.2602, 17.7711, 38.6949) |
| Luminance | 0.1777 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 2.33
Nice Blue
#107AB0
ΔE00 2.50
Stormy Blue
#507B9C
ΔE00 4.29
Ocean Blue (survey)
#03719C
ΔE00 4.65
Steel Blue
#4682B4
ΔE00 4.82
Dull Blue
#49759C
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7CA6 #A6592F
analogous
#2FA695 #2F7CA6 #2F41A6
triadic
#2F7CA6 #A62F7C #7CA62F
tetradic
#2F7CA6 #952FA6 #A6592F #41A62F
square
#2F7CA6 #952FA6 #A6592F #41A62F
split-complementary
#2F7CA6 #A62F41 #A6952F
monochromatic
#143547 #215876 #2F7CA6 #479CCB #77B6D8
Accessibility & contrast
On white
4.61
#2F7CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#2F7CA6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7CA6
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7CA6 | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#687BA8
Deuteranopia (green-blind)
#5870A5
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f7ca6; /* rgb */ color: rgb(47, 124, 166); /* oklch */ color: oklch(55.8% 0.099 236.4);
Tailwind
colors: {
custom: {
50: '#77a1c0',
500: '#2f7ca6',
950: '#000000',
},
}SCSS
$custom: #2f7ca6; $custom-light: #77a1c0; $custom-dark: #000000;
JSON
{
"hex": "#2f7ca6",
"rgb": {
"r": 47,
"g": 124,
"b": 166
},
"hsl": {
"h": 201.176,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.55794,
"c": 0.09873,
"h": 236.4
},
"luminance": 0.17773
}Semantic roles & 50–950 ramp
primary
#2F7CA6
secondary
#C18D70
accent
#7E49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81