#2F7CB4#2F7CB4
#2F7CB4 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.5% C 0.114 H 244.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7CB4 |
|---|---|
| RGB | rgb(47, 124, 180) |
| HSL | hsl(205, 59%, 45%) |
| HSV | hsv(205, 74%, 71%) |
| CMYK | cmyk(73.9%, 31.1%, 0%, 29.4%) |
| CIE-LAB | lab(49.87, -4.37, -36.31) |
| CIE-LCH | lch(49.87, 36.57, 263.14°) |
| OKLab | oklab(56.53% -0.05 -0.1028) |
| OKLCH | oklch(56.53% 0.114 244.1) |
| XYZ | xyz(16.6150, 18.3130, 45.8303) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.61
Bluish
#2976BB
ΔE00 2.96
Steel Blue
#4682B4
ΔE00 2.99
Windows Blue
#3778BF
ΔE00 3.62
Cool Blue
#4984B8
ΔE00 3.84
Flat Blue
#3C73A8
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7CB4 #B4672F
analogous
#2FB4AA #2F7CB4 #2F3AB4
triadic
#2F7CB4 #B42F7C #7CB42F
tetradic
#2F7CB4 #AA2FB4 #B4672F #3AB42F
square
#2F7CB4 #AA2FB4 #B4672F #3AB42F
split-complementary
#2F7CB4 #B42F3A #B4AA2F
monochromatic
#163953 #225B83 #2F7CB4 #4F9AD1 #80B6DE
Accessibility & contrast
On white
4.50
#2F7CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#2F7CB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7CB4
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7CB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7CB4 | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627EB6
Deuteranopia (green-blind)
#5071B3
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f7cb4; /* rgb */ color: rgb(47, 124, 180); /* oklch */ color: oklch(56.5% 0.114 244.1);
Tailwind
colors: {
custom: {
50: '#79a1ca',
500: '#2f7cb4',
950: '#000000',
},
}SCSS
$custom: #2f7cb4; $custom-light: #79a1ca; $custom-dark: #000000;
JSON
{
"hex": "#2f7cb4",
"rgb": {
"r": 47,
"g": 124,
"b": 180
},
"hsl": {
"h": 205.263,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.5653,
"c": 0.11434,
"h": 244.1
},
"luminance": 0.18315
}Semantic roles & 50–950 ramp
primary
#2F7CB4
secondary
#C79978
accent
#8846E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82