#2F7BBD#2F7BBD
#2F7BBD is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.8% C 0.126 H 248.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7BBD |
|---|---|
| RGB | rgb(47, 123, 189) |
| HSL | hsl(208, 60%, 46%) |
| HSV | hsv(208, 75%, 74%) |
| CMYK | cmyk(75.1%, 34.9%, 0%, 25.9%) |
| CIE-LAB | lab(50.03, -0.50, -41.25) |
| CIE-LCH | lch(50.03, 41.25, 269.31°) |
| OKLab | oklab(56.8% -0.0464 -0.1173) |
| OKLCH | oklch(56.8% 0.126 248.4) |
| XYZ | xyz(17.4371, 18.4424, 50.7750) |
| Luminance | 0.1844 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.87
Windows Blue
#3778BF
ΔE00 2.04
Steel Blue
#4682B4
ΔE00 3.23
Flat Blue
#3C73A8
ΔE00 3.78
Cool Blue
#4984B8
ΔE00 3.79
Nice Blue
#107AB0
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7BBD #BD712F
analogous
#2FBDB8 #2F7BBD #2F34BD
triadic
#2F7BBD #BD2F7B #7BBD2F
tetradic
#2F7BBD #B82FBD #BD712F #34BD2F
square
#2F7BBD #B82FBD #BD712F #34BD2F
split-complementary
#2F7BBD #BD2F34 #BDB82F
monochromatic
#173B5B #235B8C #2F7BBD #5599D5 #86B6E1
Accessibility & contrast
On white
4.48
#2F7BBD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#2F7BBD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7BBD
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7BBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7BBD | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7EC0
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#008B93
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f7bbd; /* rgb */ color: rgb(47, 123, 189); /* oklch */ color: oklch(56.8% 0.126 248.4);
Tailwind
colors: {
custom: {
50: '#7ba0d1',
500: '#2f7bbd',
950: '#000000',
},
}SCSS
$custom: #2f7bbd; $custom-light: #7ba0d1; $custom-dark: #000000;
JSON
{
"hex": "#2f7bbd",
"rgb": {
"r": 47,
"g": 123,
"b": 189
},
"hsl": {
"h": 207.887,
"s": 60.169,
"l": 46.275
},
"oklch": {
"l": 0.568,
"c": 0.12612,
"h": 248.4
},
"luminance": 0.18444
}Semantic roles & 50–950 ramp
primary
#2F7BBD
secondary
#CAA17E
accent
#8E44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82