#2F7CBA#2F7CBA
#2F7CBA is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 56.9% C 0.122 H 246.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7CBA |
|---|---|
| RGB | rgb(47, 124, 186) |
| HSL | hsl(207, 60%, 46%) |
| HSV | hsv(207, 75%, 73%) |
| CMYK | cmyk(74.7%, 33.3%, 0%, 27.1%) |
| CIE-LAB | lab(50.17, -2.19, -39.30) |
| CIE-LCH | lch(50.17, 39.36, 266.81°) |
| OKLab | oklab(56.86% -0.0482 -0.1116) |
| OKLCH | oklch(56.86% 0.122 246.6) |
| XYZ | xyz(17.2395, 18.5628, 49.1193) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 2.38
Windows Blue
#3778BF
ΔE00 2.75
Steel Blue
#4682B4
ΔE00 2.89
Cool Blue
#4984B8
ΔE00 3.56
Nice Blue
#107AB0
ΔE00 3.63
Cerulean (survey)
#0485D1
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7CBA #BA6D2F
analogous
#2FBAB3 #2F7CBA #2F36BA
triadic
#2F7CBA #BA2F7C #7CBA2F
tetradic
#2F7CBA #B32FBA #BA6D2F #36BA2F
square
#2F7CBA #B32FBA #BA6D2F #36BA2F
split-complementary
#2F7CBA #BA2F36 #BAB32F
monochromatic
#163B58 #235B89 #2F7CBA #539AD3 #84B7E0
Accessibility & contrast
On white
4.46
#2F7CBA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#2F7CBA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7CBA
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7CBA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7CBA | 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)
#607FBD
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f7cba; /* rgb */ color: rgb(47, 124, 186); /* oklch */ color: oklch(56.9% 0.122 246.6);
Tailwind
colors: {
custom: {
50: '#7aa1cf',
500: '#2f7cba',
950: '#000000',
},
}SCSS
$custom: #2f7cba; $custom-light: #7aa1cf; $custom-dark: #000000;
JSON
{
"hex": "#2f7cba",
"rgb": {
"r": 47,
"g": 124,
"b": 186
},
"hsl": {
"h": 206.763,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.56863,
"c": 0.12152,
"h": 246.6
},
"luminance": 0.18565
}Semantic roles & 50–950 ramp
primary
#2F7CBA
secondary
#C99E7C
accent
#8B45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82