#2F7CB8#2F7CB8
#2F7CB8 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.8% C 0.119 H 245.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7CB8 |
|---|---|
| RGB | rgb(47, 124, 184) |
| HSL | hsl(206, 59%, 45%) |
| HSV | hsv(206, 74%, 72%) |
| CMYK | cmyk(74.5%, 32.6%, 0%, 27.8%) |
| CIE-LAB | lab(50.07, -2.92, -38.31) |
| CIE-LCH | lch(50.07, 38.42, 265.64°) |
| OKLab | oklab(56.75% -0.0488 -0.1087) |
| OKLCH | oklch(56.75% 0.119 245.8) |
| XYZ | xyz(17.0284, 18.4784, 48.0073) |
| Luminance | 0.1848 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 2.52
Steel Blue
#4682B4
ΔE00 2.89
Windows Blue
#3778BF
ΔE00 3.01
Nice Blue
#107AB0
ΔE00 3.29
Cool Blue
#4984B8
ΔE00 3.62
Flat Blue
#3C73A8
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7CB8 #B86B2F
analogous
#2FB8AF #2F7CB8 #2F38B8
triadic
#2F7CB8 #B82F7C #7CB82F
tetradic
#2F7CB8 #AF2FB8 #B86B2F #38B82F
square
#2F7CB8 #AF2FB8 #B86B2F #38B82F
split-complementary
#2F7CB8 #B82F38 #B8AF2F
monochromatic
#163A57 #235B87 #2F7CB8 #529AD3 #82B6DF
Accessibility & contrast
On white
4.47
#2F7CB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#2F7CB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7CB8
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7CB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7CB8 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617EBB
Deuteranopia (green-blind)
#4D71B7
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f7cb8; /* rgb */ color: rgb(47, 124, 184); /* oklch */ color: oklch(56.8% 0.119 245.8);
Tailwind
colors: {
custom: {
50: '#7aa1cd',
500: '#2f7cb8',
950: '#000000',
},
}SCSS
$custom: #2f7cb8; $custom-light: #7aa1cd; $custom-dark: #000000;
JSON
{
"hex": "#2f7cb8",
"rgb": {
"r": 47,
"g": 124,
"b": 184
},
"hsl": {
"h": 206.277,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.56751,
"c": 0.1191,
"h": 245.8
},
"luminance": 0.1848
}Semantic roles & 50–950 ramp
primary
#2F7CB8
secondary
#C89D7B
accent
#8A45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82