#2F7FB5#2F7FB5
#2F7FB5 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.113 H 242.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7FB5 |
|---|---|
| RGB | rgb(47, 127, 181) |
| HSL | hsl(204, 59%, 45%) |
| HSV | hsv(204, 74%, 71%) |
| CMYK | cmyk(74%, 29.8%, 0%, 29%) |
| CIE-LAB | lab(50.82, -5.78, -35.39) |
| CIE-LCH | lch(50.82, 35.86, 260.73°) |
| OKLab | oklab(57.3% -0.0526 -0.1001) |
| OKLCH | oklch(57.3% 0.113 242.3) |
| XYZ | xyz(17.0989, 19.1173, 46.4959) |
| Luminance | 0.1912 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.58
Nice Blue
#107AB0
ΔE00 2.74
Cool Blue
#4984B8
ΔE00 3.38
Water Blue
#0E87CC
ΔE00 3.66
Cerulean (survey)
#0485D1
ΔE00 3.66
Bluish
#2976BB
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7FB5 #B5652F
analogous
#2FB5A8 #2F7FB5 #2F3CB5
triadic
#2F7FB5 #B52F7F #7FB52F
tetradic
#2F7FB5 #A82FB5 #B5652F #3CB52F
square
#2F7FB5 #A82FB5 #B5652F #3CB52F
split-complementary
#2F7FB5 #B52F3C #B5A82F
monochromatic
#163B54 #225D84 #2F7FB5 #509DD1 #80B8DE
Accessibility & contrast
On white
4.35
#2F7FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#2F7FB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7FB5
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7FB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7FB5 | 1.00 | 4.35 | 4.82 | 4.82 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6680B7
Deuteranopia (green-blind)
#5473B4
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f7fb5; /* rgb */ color: rgb(47, 127, 181); /* oklch */ color: oklch(57.3% 0.113 242.3);
Tailwind
colors: {
custom: {
50: '#79a3cb',
500: '#2f7fb5',
950: '#000000',
},
}SCSS
$custom: #2f7fb5; $custom-light: #79a3cb; $custom-dark: #000000;
JSON
{
"hex": "#2f7fb5",
"rgb": {
"r": 47,
"g": 127,
"b": 181
},
"hsl": {
"h": 204.179,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.57297,
"c": 0.1131,
"h": 242.3
},
"luminance": 0.19119
}Semantic roles & 50–950 ramp
primary
#2F7FB5
secondary
#C79879
accent
#8546E2
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82