#2F7DBF#2F7DBF
#2F7DBF is a mid, vivid cyan. Relative luminance 0.190; OKLCH L 57.4% C 0.127 H 247.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7DBF |
|---|---|
| RGB | rgb(47, 125, 191) |
| HSL | hsl(208, 61%, 47%) |
| HSV | hsv(208, 75%, 75%) |
| CMYK | cmyk(75.4%, 34.6%, 0%, 25.1%) |
| CIE-LAB | lab(50.72, -0.97, -41.30) |
| CIE-LCH | lch(50.72, 41.31, 268.66°) |
| OKLab | oklab(57.38% -0.0477 -0.1174) |
| OKLCH | oklch(57.38% 0.127 247.9) |
| XYZ | xyz(17.9063, 19.0311, 52.0098) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.61
Bluish
#2976BB
ΔE00 2.64
Steel Blue
#4682B4
ΔE00 2.75
Cool Blue
#4984B8
ΔE00 3.24
Cerulean (survey)
#0485D1
ΔE00 3.62
Nice Blue
#107AB0
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7DBF #BF712F
analogous
#2FBFB9 #2F7DBF #2F35BF
triadic
#2F7DBF #BF2F7D #7DBF2F
tetradic
#2F7DBF #B92FBF #BF712F #35BF2F
square
#2F7DBF #B92FBF #BF712F #35BF2F
split-complementary
#2F7DBF #BF2F35 #BFB92F
monochromatic
#173D5D #235D8E #2F7DBF #569BD5 #87B8E1
Accessibility & contrast
On white
4.37
#2F7DBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#2F7DBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7DBF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7DBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7DBF | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F80C2
Deuteranopia (green-blind)
#4A73BE
Tritanopia (blue-blind)
#008D95
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f7dbf; /* rgb */ color: rgb(47, 125, 191); /* oklch */ color: oklch(57.4% 0.127 247.9);
Tailwind
colors: {
custom: {
50: '#7ba2d2',
500: '#2f7dbf',
950: '#000000',
},
}SCSS
$custom: #2f7dbf; $custom-light: #7ba2d2; $custom-dark: #000000;
JSON
{
"hex": "#2f7dbf",
"rgb": {
"r": 47,
"g": 125,
"b": 191
},
"hsl": {
"h": 207.5,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.5738,
"c": 0.12671,
"h": 247.9
},
"luminance": 0.19033
}Semantic roles & 50–950 ramp
primary
#2F7DBF
secondary
#CBA27F
accent
#8D44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F14
muted
#7C7E82