#2F7AB8#2F7AB8
#2F7AB8 is a mid, vivid cyan. Relative luminance 0.180; OKLCH L 56.3% C 0.121 H 247.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7AB8 |
|---|---|
| RGB | rgb(47, 122, 184) |
| HSL | hsl(207, 59%, 45%) |
| HSV | hsv(207, 74%, 72%) |
| CMYK | cmyk(74.5%, 33.7%, 0%, 27.8%) |
| CIE-LAB | lab(49.47, -1.72, -39.25) |
| CIE-LCH | lch(49.47, 39.29, 267.49°) |
| OKLab | oklab(56.28% -0.0469 -0.1114) |
| OKLCH | oklch(56.28% 0.121 247.2) |
| XYZ | xyz(16.7803, 17.9822, 47.9246) |
| Luminance | 0.1798 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.66
Windows Blue
#3778BF
ΔE00 2.33
Flat Blue
#3C73A8
ΔE00 3.32
Steel Blue
#4682B4
ΔE00 3.45
Nice Blue
#107AB0
ΔE00 3.66
Cool Blue
#4984B8
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7AB8 #B86D2F
analogous
#2FB8B1 #2F7AB8 #2F36B8
triadic
#2F7AB8 #B82F7A #7AB82F
tetradic
#2F7AB8 #B12FB8 #B86D2F #36B82F
square
#2F7AB8 #B12FB8 #B86D2F #36B82F
split-complementary
#2F7AB8 #B82F36 #B8B12F
monochromatic
#163957 #235A87 #2F7AB8 #5298D3 #82B5DF
Accessibility & contrast
On white
4.57
#2F7AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#2F7AB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7AB8
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7AB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7AB8 | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E7DBB
Deuteranopia (green-blind)
#4A70B7
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2f7ab8; /* rgb */ color: rgb(47, 122, 184); /* oklch */ color: oklch(56.3% 0.121 247.2);
Tailwind
colors: {
custom: {
50: '#7aa0cd',
500: '#2f7ab8',
950: '#000000',
},
}SCSS
$custom: #2f7ab8; $custom-light: #7aa0cd; $custom-dark: #000000;
JSON
{
"hex": "#2f7ab8",
"rgb": {
"r": 47,
"g": 122,
"b": 184
},
"hsl": {
"h": 207.153,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.5628,
"c": 0.12089,
"h": 247.2
},
"luminance": 0.17984
}Semantic roles & 50–950 ramp
primary
#2F7AB8
secondary
#C89E7B
accent
#8C45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82