#2F7FB7#2F7FB7
#2F7FB7 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.115 H 243.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7FB7 |
|---|---|
| RGB | rgb(47, 127, 183) |
| HSL | hsl(205, 59%, 45%) |
| HSV | hsv(205, 74%, 72%) |
| CMYK | cmyk(74.3%, 30.6%, 0%, 28.2%) |
| CIE-LAB | lab(50.92, -5.06, -36.39) |
| CIE-LCH | lch(50.92, 36.74, 262.09°) |
| OKLab | oklab(57.4% -0.0519 -0.103) |
| OKLCH | oklch(57.4% 0.115 243.2) |
| XYZ | xyz(17.3056, 19.2000, 47.5845) |
| Luminance | 0.1920 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.43
Nice Blue
#107AB0
ΔE00 2.99
Cool Blue
#4984B8
ΔE00 3.19
Cerulean (survey)
#0485D1
ΔE00 3.40
Water Blue
#0E87CC
ΔE00 3.53
Bluish
#2976BB
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7FB7 #B7672F
analogous
#2FB7AB #2F7FB7 #2F3BB7
triadic
#2F7FB7 #B72F7F #7FB72F
tetradic
#2F7FB7 #AB2FB7 #B7672F #3BB72F
square
#2F7FB7 #AB2FB7 #B7672F #3BB72F
split-complementary
#2F7FB7 #B72F3B #B7AB2F
monochromatic
#163B56 #225D86 #2F7FB7 #519DD2 #82B8DF
Accessibility & contrast
On white
4.34
#2F7FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#2F7FB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7FB7
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7FB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7FB7 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6580B9
Deuteranopia (green-blind)
#5274B6
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f7fb7; /* rgb */ color: rgb(47, 127, 183); /* oklch */ color: oklch(57.4% 0.115 243.2);
Tailwind
colors: {
custom: {
50: '#7aa3cd',
500: '#2f7fb7',
950: '#000000',
},
}SCSS
$custom: #2f7fb7; $custom-light: #7aa3cd; $custom-dark: #000000;
JSON
{
"hex": "#2f7fb7",
"rgb": {
"r": 47,
"g": 127,
"b": 183
},
"hsl": {
"h": 204.706,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.57405,
"c": 0.1154,
"h": 243.2
},
"luminance": 0.19202
}Semantic roles & 50–950 ramp
primary
#2F7FB7
secondary
#C89A7A
accent
#8645E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82