#2C7FBF#2C7FBF
#2C7FBF is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 57.8% C 0.126 H 246.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7FBF |
|---|---|
| RGB | rgb(44, 127, 191) |
| HSL | hsl(206, 63%, 46%) |
| HSV | hsv(206, 77%, 75%) |
| CMYK | cmyk(77%, 33.5%, 0%, 25.1%) |
| CIE-LAB | lab(51.24, -2.53, -40.49) |
| CIE-LCH | lch(51.24, 40.57, 266.42°) |
| OKLab | oklab(57.76% -0.0511 -0.115) |
| OKLCH | oklch(57.76% 0.126 246) |
| XYZ | xyz(18.0284, 19.4737, 52.0887) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.49
Cerulean (survey)
#0485D1
ΔE00 2.81
Cool Blue
#4984B8
ΔE00 2.98
Water Blue
#0E87CC
ΔE00 3.41
Bluish
#2976BB
ΔE00 3.51
Windows Blue
#3778BF
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7FBF #BF6C2C
analogous
#2CBFB5 #2C7FBF #2C36BF
triadic
#2C7FBF #BF2C7F #7FBF2C
tetradic
#2C7FBF #B52CBF #BF6C2C #36BF2C
square
#2C7FBF #B52CBF #BF6C2C #36BF2C
split-complementary
#2C7FBF #BF2C36 #BFB52C
monochromatic
#153D5C #215E8D #2C7FBF #519DD7 #83B9E2
Accessibility & contrast
On white
4.29
#2C7FBF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#2C7FBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2C7FBF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7FBF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2C7FBF | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6182C2
Deuteranopia (green-blind)
#4C74BE
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2c7fbf; /* rgb */ color: rgb(44, 127, 191); /* oklch */ color: oklch(57.8% 0.126 246.0);
Tailwind
colors: {
custom: {
50: '#7aa3d2',
500: '#2c7fbf',
950: '#000000',
},
}SCSS
$custom: #2c7fbf; $custom-light: #7aa3d2; $custom-dark: #000000;
JSON
{
"hex": "#2c7fbf",
"rgb": {
"r": 44,
"g": 127,
"b": 191
},
"hsl": {
"h": 206.122,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.57762,
"c": 0.12589,
"h": 246
},
"luminance": 0.19476
}Semantic roles & 50–950 ramp
primary
#2C7FBF
secondary
#CC9E7B
accent
#8942E6
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82