#2F7CBE#2F7CBE
#2F7CBE is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.1% C 0.126 H 248.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7CBE |
|---|---|
| RGB | rgb(47, 124, 190) |
| HSL | hsl(208, 60%, 46%) |
| HSV | hsv(208, 75%, 75%) |
| CMYK | cmyk(75.3%, 34.7%, 0%, 25.5%) |
| CIE-LAB | lab(50.38, -0.73, -41.28) |
| CIE-LCH | lch(50.38, 41.28, 268.98°) |
| OKLab | oklab(57.09% -0.047 -0.1173) |
| OKLCH | oklch(57.09% 0.126 248.1) |
| XYZ | xyz(17.6707, 18.7353, 51.3902) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 2.26
Windows Blue
#3778BF
ΔE00 2.31
Steel Blue
#4682B4
ΔE00 2.98
Cool Blue
#4984B8
ΔE00 3.50
Cerulean (survey)
#0485D1
ΔE00 3.99
Flat Blue
#3C73A8
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7CBE #BE712F
analogous
#2FBEB9 #2F7CBE #2F35BE
triadic
#2F7CBE #BE2F7C #7CBE2F
tetradic
#2F7CBE #B92FBE #BE712F #35BE2F
square
#2F7CBE #B92FBE #BE712F #35BE2F
split-complementary
#2F7CBE #BE2F35 #BEB92F
monochromatic
#173C5C #235C8D #2F7CBE #559AD5 #86B7E1
Accessibility & contrast
On white
4.42
#2F7CBE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#2F7CBE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7CBE
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7CBE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7CBE | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E7FC1
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#008C94
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2f7cbe; /* rgb */ color: rgb(47, 124, 190); /* oklch */ color: oklch(57.1% 0.126 248.1);
Tailwind
colors: {
custom: {
50: '#7ba1d2',
500: '#2f7cbe',
950: '#000000',
},
}SCSS
$custom: #2f7cbe; $custom-light: #7ba1d2; $custom-dark: #000000;
JSON
{
"hex": "#2f7cbe",
"rgb": {
"r": 47,
"g": 124,
"b": 190
},
"hsl": {
"h": 207.692,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.5709,
"c": 0.12641,
"h": 248.1
},
"luminance": 0.18737
}Semantic roles & 50–950 ramp
primary
#2F7CBE
secondary
#CBA17E
accent
#8E44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82