#2F7EB6#2F7EB6
#2F7EB6 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.115 H 243.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7EB6 |
|---|---|
| RGB | rgb(47, 126, 182) |
| HSL | hsl(205, 59%, 45%) |
| HSV | hsv(205, 74%, 71%) |
| CMYK | cmyk(74.2%, 30.8%, 0%, 28.6%) |
| CIE-LAB | lab(50.57, -4.83, -36.37) |
| CIE-LCH | lch(50.57, 36.69, 262.44°) |
| OKLab | oklab(57.11% -0.0513 -0.103) |
| OKLCH | oklch(57.11% 0.115 243.5) |
| XYZ | xyz(17.0734, 18.9015, 46.9954) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.57
Nice Blue
#107AB0
ΔE00 2.82
Cool Blue
#4984B8
ΔE00 3.38
Bluish
#2976BB
ΔE00 3.61
Cerulean (survey)
#0485D1
ΔE00 3.68
Water Blue
#0E87CC
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7EB6 #B6672F
analogous
#2FB6AB #2F7EB6 #2F3AB6
triadic
#2F7EB6 #B62F7E #7EB62F
tetradic
#2F7EB6 #AB2FB6 #B6672F #3AB62F
square
#2F7EB6 #AB2FB6 #B6672F #3AB62F
split-complementary
#2F7EB6 #B62F3A #B6AB2F
monochromatic
#163B55 #225C85 #2F7EB6 #509CD2 #81B8DE
Accessibility & contrast
On white
4.39
#2F7EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#2F7EB6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7EB6
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7EB6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7EB6 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#647FB8
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2f7eb6; /* rgb */ color: rgb(47, 126, 182); /* oklch */ color: oklch(57.1% 0.115 243.5);
Tailwind
colors: {
custom: {
50: '#7aa3cc',
500: '#2f7eb6',
950: '#000000',
},
}SCSS
$custom: #2f7eb6; $custom-light: #7aa3cc; $custom-dark: #000000;
JSON
{
"hex": "#2f7eb6",
"rgb": {
"r": 47,
"g": 126,
"b": 182
},
"hsl": {
"h": 204.889,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.57113,
"c": 0.11505,
"h": 243.5
},
"luminance": 0.18903
}Semantic roles & 50–950 ramp
primary
#2F7EB6
secondary
#C79A79
accent
#8746E2
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82