#2F7DCC#2F7DCC
#2F7DCC is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.1% C 0.143 H 251.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7DCC |
|---|---|
| RGB | rgb(47, 125, 204) |
| HSL | hsl(210, 63%, 49%) |
| HSV | hsv(210, 77%, 80%) |
| CMYK | cmyk(77%, 38.7%, 0%, 20%) |
| CIE-LAB | lab(51.41, 3.81, -47.63) |
| CIE-LCH | lch(51.41, 47.78, 274.58°) |
| OKLab | oklab(58.15% -0.0443 -0.1359) |
| OKLCH | oklch(58.15% 0.143 251.9) |
| XYZ | xyz(19.4009, 19.6289, 59.8813) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.29
Bluish
#2976BB
ΔE00 3.27
Steel Blue
#4682B4
ΔE00 3.51
Cool Blue
#4984B8
ΔE00 3.56
Cerulean (survey)
#0485D1
ΔE00 4.26
Off Blue
#5684AE
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7DCC #CC7E2F
analogous
#2FCCCC #2F7DCC #2F2FCC
triadic
#2F7DCC #CC2F7D #7DCC2F
tetradic
#2F7DCC #CC2FCC #CC7E2F #2FCC2F
square
#2F7DCC #CC2FCC #CC7E2F #2FCC2F
split-complementary
#2F7DCC #CC2F2F #CCCC2F
monochromatic
#184069 #245F9A #2F7DCC #5E9CDA #90BAE5
Accessibility & contrast
On white
4.26
#2F7DCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#2F7DCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7DCC
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7DCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7DCC | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5882CF
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f7dcc; /* rgb */ color: rgb(47, 125, 204); /* oklch */ color: oklch(58.1% 0.143 251.9);
Tailwind
colors: {
custom: {
50: '#7ea2dc',
500: '#2f7dcc',
950: '#000000',
},
}SCSS
$custom: #2f7dcc; $custom-light: #7ea2dc; $custom-dark: #000000;
JSON
{
"hex": "#2f7dcc",
"rgb": {
"r": 47,
"g": 125,
"b": 204
},
"hsl": {
"h": 210.191,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.58148,
"c": 0.14296,
"h": 251.9
},
"luminance": 0.19631
}Semantic roles & 50–950 ramp
primary
#2F7DCC
secondary
#D0AC87
accent
#9442E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0F15
muted
#7C7E83