#2F7EB2#2F7EB2
#2F7EB2 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.110 H 241.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7EB2 |
|---|---|
| RGB | rgb(47, 126, 178) |
| HSL | hsl(204, 58%, 44%) |
| HSV | hsv(204, 74%, 70%) |
| CMYK | cmyk(73.6%, 29.2%, 0%, 30.2%) |
| CIE-LAB | lab(50.38, -6.26, -34.36) |
| CIE-LCH | lch(50.38, 34.93, 259.67°) |
| OKLab | oklab(56.9% -0.0526 -0.0971) |
| OKLCH | oklch(56.9% 0.11 241.6) |
| XYZ | xyz(16.6659, 18.7385, 44.8494) |
| Luminance | 0.1874 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.30
Steel Blue
#4682B4
ΔE00 2.90
Cool Blue
#4984B8
ΔE00 3.77
Water Blue
#0E87CC
ΔE00 4.15
Bluish
#2976BB
ΔE00 4.17
Cerulean (survey)
#0485D1
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7EB2 #B2632F
analogous
#2FB2A5 #2F7EB2 #2F3DB2
triadic
#2F7EB2 #B22F7E #7EB22F
tetradic
#2F7EB2 #A52FB2 #B2632F #3DB22F
square
#2F7EB2 #A52FB2 #B2632F #3DB22F
split-complementary
#2F7EB2 #B22F3D #B2A52F
monochromatic
#153951 #225C82 #2F7EB2 #4E9DD0 #7EB7DD
Accessibility & contrast
On white
4.42
#2F7EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#2F7EB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7EB2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7EB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7EB2 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#667FB4
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2f7eb2; /* rgb */ color: rgb(47, 126, 178); /* oklch */ color: oklch(56.9% 0.110 241.6);
Tailwind
colors: {
custom: {
50: '#79a3c9',
500: '#2f7eb2',
950: '#000000',
},
}SCSS
$custom: #2f7eb2; $custom-light: #79a3c9; $custom-dark: #000000;
JSON
{
"hex": "#2f7eb2",
"rgb": {
"r": 47,
"g": 126,
"b": 178
},
"hsl": {
"h": 203.817,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.56898,
"c": 0.11046,
"h": 241.6
},
"luminance": 0.1874
}Semantic roles & 50–950 ramp
primary
#2F7EB2
secondary
#C69677
accent
#8446E1
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82