#2F7CB7#2F7CB7
#2F7CB7 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.7% C 0.118 H 245.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7CB7 |
|---|---|
| RGB | rgb(47, 124, 183) |
| HSL | hsl(206, 59%, 45%) |
| HSV | hsv(206, 74%, 72%) |
| CMYK | cmyk(74.3%, 32.2%, 0%, 28.2%) |
| CIE-LAB | lab(50.02, -3.28, -37.81) |
| CIE-LCH | lch(50.02, 37.95, 265.04°) |
| OKLab | oklab(56.69% -0.0491 -0.1072) |
| OKLCH | oklch(56.69% 0.118 245.4) |
| XYZ | xyz(16.9239, 18.4366, 47.4572) |
| Luminance | 0.1844 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 2.61
Steel Blue
#4682B4
ΔE00 2.90
Nice Blue
#107AB0
ΔE00 3.12
Windows Blue
#3778BF
ΔE00 3.16
Cool Blue
#4984B8
ΔE00 3.67
Flat Blue
#3C73A8
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7CB7 #B76A2F
analogous
#2FB7AE #2F7CB7 #2F38B7
triadic
#2F7CB7 #B72F7C #7CB72F
tetradic
#2F7CB7 #AE2FB7 #B76A2F #38B72F
square
#2F7CB7 #AE2FB7 #B76A2F #38B72F
split-complementary
#2F7CB7 #B72F38 #B7AE2F
monochromatic
#163A56 #225B86 #2F7CB7 #519AD2 #82B6DF
Accessibility & contrast
On white
4.48
#2F7CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#2F7CB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7CB7
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7CB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7CB7 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617EBA
Deuteranopia (green-blind)
#4E71B6
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f7cb7; /* rgb */ color: rgb(47, 124, 183); /* oklch */ color: oklch(56.7% 0.118 245.4);
Tailwind
colors: {
custom: {
50: '#7aa1cd',
500: '#2f7cb7',
950: '#000000',
},
}SCSS
$custom: #2f7cb7; $custom-light: #7aa1cd; $custom-dark: #000000;
JSON
{
"hex": "#2f7cb7",
"rgb": {
"r": 47,
"g": 124,
"b": 183
},
"hsl": {
"h": 206.029,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.56695,
"c": 0.1179,
"h": 245.4
},
"luminance": 0.18439
}Semantic roles & 50–950 ramp
primary
#2F7CB7
secondary
#C89C7A
accent
#8A45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82