#2F7EBE#2F7EBE
#2F7EBE is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.6% C 0.125 H 246.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7EBE |
|---|---|
| RGB | rgb(47, 126, 190) |
| HSL | hsl(207, 60%, 46%) |
| HSV | hsv(207, 75%, 75%) |
| CMYK | cmyk(75.3%, 33.7%, 0%, 25.5%) |
| CIE-LAB | lab(50.97, -1.93, -40.34) |
| CIE-LCH | lch(50.97, 40.39, 267.26°) |
| OKLab | oklab(57.56% -0.0489 -0.1146) |
| OKLCH | oklch(57.56% 0.125 246.9) |
| XYZ | xyz(17.9239, 19.2417, 51.4746) |
| Luminance | 0.1924 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.50
Cool Blue
#4984B8
ΔE00 3.01
Bluish
#2976BB
ΔE00 3.05
Windows Blue
#3778BF
ΔE00 3.10
Cerulean (survey)
#0485D1
ΔE00 3.26
Water Blue
#0E87CC
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7EBE #BE6F2F
analogous
#2FBEB7 #2F7EBE #2F37BE
triadic
#2F7EBE #BE2F7E #7EBE2F
tetradic
#2F7EBE #B72FBE #BE6F2F #37BE2F
square
#2F7EBE #B72FBE #BE6F2F #37BE2F
split-complementary
#2F7EBE #BE2F37 #BEB72F
monochromatic
#173D5C #235D8D #2F7EBE #559CD5 #86B8E1
Accessibility & contrast
On white
4.33
#2F7EBE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#2F7EBE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7EBE
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7EBE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7EBE | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6181C1
Deuteranopia (green-blind)
#4C73BD
Tritanopia (blue-blind)
#008D95
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f7ebe; /* rgb */ color: rgb(47, 126, 190); /* oklch */ color: oklch(57.6% 0.125 246.9);
Tailwind
colors: {
custom: {
50: '#7ba3d2',
500: '#2f7ebe',
950: '#000000',
},
}SCSS
$custom: #2f7ebe; $custom-light: #7ba3d2; $custom-dark: #000000;
JSON
{
"hex": "#2f7ebe",
"rgb": {
"r": 47,
"g": 126,
"b": 190
},
"hsl": {
"h": 206.853,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.57557,
"c": 0.12457,
"h": 246.9
},
"luminance": 0.19244
}Semantic roles & 50–950 ramp
primary
#2F7EBE
secondary
#CBA07E
accent
#8C44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F14
muted
#7C7E82