#2F7EBD#2F7EBD
#2F7EBD is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.5% C 0.123 H 246.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7EBD |
|---|---|
| RGB | rgb(47, 126, 189) |
| HSL | hsl(207, 60%, 46%) |
| HSV | hsv(207, 75%, 74%) |
| CMYK | cmyk(75.1%, 33.3%, 0%, 25.9%) |
| CIE-LAB | lab(50.92, -2.30, -39.85) |
| CIE-LCH | lch(50.92, 39.91, 266.70°) |
| OKLab | oklab(57.5% -0.0492 -0.1131) |
| OKLCH | oklch(57.5% 0.123 246.5) |
| XYZ | xyz(17.8149, 19.1981, 50.9009) |
| Luminance | 0.1920 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.47
Cool Blue
#4984B8
ΔE00 3.03
Bluish
#2976BB
ΔE00 3.08
Windows Blue
#3778BF
ΔE00 3.19
Cerulean (survey)
#0485D1
ΔE00 3.27
Water Blue
#0E87CC
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7EBD #BD6E2F
analogous
#2FBDB5 #2F7EBD #2F37BD
triadic
#2F7EBD #BD2F7E #7EBD2F
tetradic
#2F7EBD #B52FBD #BD6E2F #37BD2F
square
#2F7EBD #B52FBD #BD6E2F #37BD2F
split-complementary
#2F7EBD #BD2F37 #BDB52F
monochromatic
#173D5B #235D8C #2F7EBD #559CD5 #86B8E1
Accessibility & contrast
On white
4.34
#2F7EBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#2F7EBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7EBD
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7EBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7EBD | 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)
#6181C0
Deuteranopia (green-blind)
#4D73BC
Tritanopia (blue-blind)
#008D95
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f7ebd; /* rgb */ color: rgb(47, 126, 189); /* oklch */ color: oklch(57.5% 0.123 246.5);
Tailwind
colors: {
custom: {
50: '#7ba3d1',
500: '#2f7ebd',
950: '#000000',
},
}SCSS
$custom: #2f7ebd; $custom-light: #7ba3d1; $custom-dark: #000000;
JSON
{
"hex": "#2f7ebd",
"rgb": {
"r": 47,
"g": 126,
"b": 189
},
"hsl": {
"h": 206.62,
"s": 60.169,
"l": 46.275
},
"oklch": {
"l": 0.575,
"c": 0.12336,
"h": 246.5
},
"luminance": 0.192
}Semantic roles & 50–950 ramp
primary
#2F7EBD
secondary
#CAA07E
accent
#8B44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F14
muted
#7C7E82