#2F7EB4#2F7EB4
#2F7EB4 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.113 H 242.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7EB4 |
|---|---|
| RGB | rgb(47, 126, 180) |
| HSL | hsl(204, 59%, 45%) |
| HSV | hsv(204, 74%, 71%) |
| CMYK | cmyk(73.9%, 30%, 0%, 29.4%) |
| CIE-LAB | lab(50.48, -5.55, -35.37) |
| CIE-LCH | lch(50.48, 35.80, 261.08°) |
| OKLab | oklab(57.01% -0.0519 -0.1001) |
| OKLCH | oklch(57.01% 0.113 242.6) |
| XYZ | xyz(16.8682, 18.8194, 45.9147) |
| Luminance | 0.1882 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.54
Steel Blue
#4682B4
ΔE00 2.71
Cool Blue
#4984B8
ΔE00 3.55
Bluish
#2976BB
ΔE00 3.87
Cerulean (survey)
#0485D1
ΔE00 3.91
Water Blue
#0E87CC
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7EB4 #B4652F
analogous
#2FB4A8 #2F7EB4 #2F3CB4
triadic
#2F7EB4 #B42F7E #7EB42F
tetradic
#2F7EB4 #A82FB4 #B4652F #3CB42F
square
#2F7EB4 #A82FB4 #B4652F #3CB42F
split-complementary
#2F7EB4 #B42F3C #B4A82F
monochromatic
#163A53 #225C83 #2F7EB4 #4F9CD1 #80B8DE
Accessibility & contrast
On white
4.41
#2F7EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#2F7EB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7EB4
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7EB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7EB4 | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#657FB6
Deuteranopia (green-blind)
#5373B3
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2f7eb4; /* rgb */ color: rgb(47, 126, 180); /* oklch */ color: oklch(57.0% 0.113 242.6);
Tailwind
colors: {
custom: {
50: '#79a3ca',
500: '#2f7eb4',
950: '#000000',
},
}SCSS
$custom: #2f7eb4; $custom-light: #79a3ca; $custom-dark: #000000;
JSON
{
"hex": "#2f7eb4",
"rgb": {
"r": 47,
"g": 126,
"b": 180
},
"hsl": {
"h": 204.361,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.57005,
"c": 0.11274,
"h": 242.6
},
"luminance": 0.18821
}Semantic roles & 50–950 ramp
primary
#2F7EB4
secondary
#C79878
accent
#8546E2
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82