#2F7FBF#2F7FBF
#2F7FBF is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 57.8% C 0.125 H 246.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7FBF |
|---|---|
| RGB | rgb(47, 127, 191) |
| HSL | hsl(207, 61%, 47%) |
| HSV | hsv(207, 75%, 75%) |
| CMYK | cmyk(75.4%, 33.5%, 0%, 25.1%) |
| CIE-LAB | lab(51.32, -2.16, -40.36) |
| CIE-LCH | lch(51.32, 40.42, 266.93°) |
| OKLab | oklab(57.85% -0.0496 -0.1146) |
| OKLCH | oklch(57.85% 0.125 246.6) |
| XYZ | xyz(18.1620, 19.5426, 52.0950) |
| Luminance | 0.1955 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.35
Cool Blue
#4984B8
ΔE00 2.81
Cerulean (survey)
#0485D1
ΔE00 2.91
Windows Blue
#3778BF
ΔE00 3.42
Bluish
#2976BB
ΔE00 3.44
Water Blue
#0E87CC
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7FBF #BF6F2F
analogous
#2FBFB7 #2F7FBF #2F37BF
triadic
#2F7FBF #BF2F7F #7FBF2F
tetradic
#2F7FBF #B72FBF #BF6F2F #37BF2F
square
#2F7FBF #B72FBF #BF6F2F #37BF2F
split-complementary
#2F7FBF #BF2F37 #BFB72F
monochromatic
#173E5D #235E8E #2F7FBF #569DD5 #87B9E1
Accessibility & contrast
On white
4.28
#2F7FBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#2F7FBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7FBF
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7FBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7FBF | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6282C2
Deuteranopia (green-blind)
#4D74BE
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f7fbf; /* rgb */ color: rgb(47, 127, 191); /* oklch */ color: oklch(57.8% 0.125 246.6);
Tailwind
colors: {
custom: {
50: '#7ba3d2',
500: '#2f7fbf',
950: '#000000',
},
}SCSS
$custom: #2f7fbf; $custom-light: #7ba3d2; $custom-dark: #000000;
JSON
{
"hex": "#2f7fbf",
"rgb": {
"r": 47,
"g": 127,
"b": 191
},
"hsl": {
"h": 206.667,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.57847,
"c": 0.12488,
"h": 246.6
},
"luminance": 0.19545
}Semantic roles & 50–950 ramp
primary
#2F7FBF
secondary
#CBA17F
accent
#8B44E4
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82