#2F7EAB#2F7EAB
#2F7EAB is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.103 H 237.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7EAB |
|---|---|
| RGB | rgb(47, 126, 171) |
| HSL | hsl(202, 57%, 43%) |
| HSV | hsv(202, 73%, 67%) |
| CMYK | cmyk(72.5%, 26.3%, 0%, 32.9%) |
| CIE-LAB | lab(50.05, -8.75, -30.82) |
| CIE-LCH | lch(50.05, 32.04, 254.15°) |
| OKLab | oklab(56.53% -0.0549 -0.0869) |
| OKLCH | oklch(56.53% 0.103 237.7) |
| XYZ | xyz(15.9809, 18.4645, 41.2419) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.35
Cerulean
#007BA7
ΔE00 2.98
Steel Blue
#4682B4
ΔE00 3.98
Stormy Blue
#507B9C
ΔE00 4.44
Cool Blue
#4984B8
ΔE00 4.87
Water Blue
#0E87CC
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7EAB #AB5C2F
analogous
#2FAB9A #2F7EAB #2F40AB
triadic
#2F7EAB #AB2F7E #7EAB2F
tetradic
#2F7EAB #9A2FAB #AB5C2F #40AB2F
square
#2F7EAB #9A2FAB #AB5C2F #40AB2F
split-complementary
#2F7EAB #AB2F40 #AB9A2F
monochromatic
#15374B #225B7B #2F7EAB #4A9ECD #7AB7DA
Accessibility & contrast
On white
4.47
#2F7EAB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#2F7EAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7EAB
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7EAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7EAB | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#697EAD
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f7eab; /* rgb */ color: rgb(47, 126, 171); /* oklch */ color: oklch(56.5% 0.103 237.7);
Tailwind
colors: {
custom: {
50: '#78a3c4',
500: '#2f7eab',
950: '#000000',
},
}SCSS
$custom: #2f7eab; $custom-light: #78a3c4; $custom-dark: #000000;
JSON
{
"hex": "#2f7eab",
"rgb": {
"r": 47,
"g": 126,
"b": 171
},
"hsl": {
"h": 201.774,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.56534,
"c": 0.10277,
"h": 237.7
},
"luminance": 0.18466
}Semantic roles & 50–950 ramp
primary
#2F7EAB
secondary
#C39073
accent
#7F48E0
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81