#2F7EB8#2F7EB8
#2F7EB8 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.2% C 0.117 H 244.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7EB8 |
|---|---|
| RGB | rgb(47, 126, 184) |
| HSL | hsl(205, 59%, 45%) |
| HSV | hsv(205, 74%, 72%) |
| CMYK | cmyk(74.5%, 31.5%, 0%, 27.8%) |
| CIE-LAB | lab(50.67, -4.11, -37.36) |
| CIE-LCH | lch(50.67, 37.59, 263.73°) |
| OKLab | oklab(57.22% -0.0507 -0.1059) |
| OKLCH | oklch(57.22% 0.117 244.4) |
| XYZ | xyz(17.2815, 18.9847, 48.0917) |
| Luminance | 0.1899 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.49
Nice Blue
#107AB0
ΔE00 3.12
Cool Blue
#4984B8
ΔE00 3.23
Bluish
#2976BB
ΔE00 3.40
Cerulean (survey)
#0485D1
ΔE00 3.50
Windows Blue
#3778BF
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7EB8 #B8692F
analogous
#2FB8AD #2F7EB8 #2F3AB8
triadic
#2F7EB8 #B82F7E #7EB82F
tetradic
#2F7EB8 #AD2FB8 #B8692F #3AB82F
square
#2F7EB8 #AD2FB8 #B8692F #3AB82F
split-complementary
#2F7EB8 #B82F3A #B8AD2F
monochromatic
#163B57 #235D87 #2F7EB8 #529CD3 #82B8DF
Accessibility & contrast
On white
4.38
#2F7EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#2F7EB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7EB8
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7EB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7EB8 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6380BB
Deuteranopia (green-blind)
#5073B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f7eb8; /* rgb */ color: rgb(47, 126, 184); /* oklch */ color: oklch(57.2% 0.117 244.4);
Tailwind
colors: {
custom: {
50: '#7aa3cd',
500: '#2f7eb8',
950: '#000000',
},
}SCSS
$custom: #2f7eb8; $custom-light: #7aa3cd; $custom-dark: #000000;
JSON
{
"hex": "#2f7eb8",
"rgb": {
"r": 47,
"g": 126,
"b": 184
},
"hsl": {
"h": 205.401,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.57222,
"c": 0.11739,
"h": 244.4
},
"luminance": 0.18987
}Semantic roles & 50–950 ramp
primary
#2F7EB8
secondary
#C89B7B
accent
#8845E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82