#2F7AB6#2F7AB6
#2F7AB6 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.118 H 246.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7AB6 |
|---|---|
| RGB | rgb(47, 122, 182) |
| HSL | hsl(207, 59%, 45%) |
| HSV | hsv(207, 74%, 71%) |
| CMYK | cmyk(74.2%, 33%, 0%, 28.6%) |
| CIE-LAB | lab(49.37, -2.45, -38.25) |
| CIE-LCH | lch(49.37, 38.33, 266.33°) |
| OKLab | oklab(56.17% -0.0474 -0.1085) |
| OKLCH | oklch(56.17% 0.118 246.4) |
| XYZ | xyz(16.5721, 17.8989, 46.8283) |
| Luminance | 0.1790 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.84
Windows Blue
#3778BF
ΔE00 2.63
Flat Blue
#3C73A8
ΔE00 3.32
Nice Blue
#107AB0
ΔE00 3.32
Steel Blue
#4682B4
ΔE00 3.45
Muted Blue
#3B719F
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7AB6 #B66B2F
analogous
#2FB6AF #2F7AB6 #2F36B6
triadic
#2F7AB6 #B62F7A #7AB62F
tetradic
#2F7AB6 #AF2FB6 #B66B2F #36B62F
square
#2F7AB6 #AF2FB6 #B66B2F #36B62F
split-complementary
#2F7AB6 #B62F36 #B6AF2F
monochromatic
#163955 #225985 #2F7AB6 #5098D2 #81B5DE
Accessibility & contrast
On white
4.58
#2F7AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#2F7AB6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7AB6
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7AB6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7AB6 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7CB9
Deuteranopia (green-blind)
#4B70B5
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f7ab6; /* rgb */ color: rgb(47, 122, 182); /* oklch */ color: oklch(56.2% 0.118 246.4);
Tailwind
colors: {
custom: {
50: '#7aa0cc',
500: '#2f7ab6',
950: '#000000',
},
}SCSS
$custom: #2f7ab6; $custom-light: #7aa0cc; $custom-dark: #000000;
JSON
{
"hex": "#2f7ab6",
"rgb": {
"r": 47,
"g": 122,
"b": 182
},
"hsl": {
"h": 206.667,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.56168,
"c": 0.11845,
"h": 246.4
},
"luminance": 0.17901
}Semantic roles & 50–950 ramp
primary
#2F7AB6
secondary
#C79C79
accent
#8B46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82