#2F7CAB#2F7CAB
#2F7CAB is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.0% C 0.104 H 239.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7CAB |
|---|---|
| RGB | rgb(47, 124, 171) |
| HSL | hsl(203, 57%, 43%) |
| HSV | hsv(203, 73%, 67%) |
| CMYK | cmyk(72.5%, 27.5%, 0%, 32.9%) |
| CIE-LAB | lab(49.45, -7.59, -31.77) |
| CIE-LCH | lch(49.45, 32.67, 256.57°) |
| OKLab | oklab(56.05% -0.0529 -0.0896) |
| OKLCH | oklch(56.05% 0.104 239.5) |
| XYZ | xyz(15.7278, 17.9581, 41.1576) |
| Luminance | 0.1796 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.75
Cerulean
#007BA7
ΔE00 3.34
Steel Blue
#4682B4
ΔE00 3.88
Stormy Blue
#507B9C
ΔE00 4.29
Bluish
#2976BB
ΔE00 4.60
Dull Blue
#49759C
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7CAB #AB5E2F
analogous
#2FAB9C #2F7CAB #2F3EAB
triadic
#2F7CAB #AB2F7C #7CAB2F
tetradic
#2F7CAB #9C2FAB #AB5E2F #3EAB2F
square
#2F7CAB #9C2FAB #AB5E2F #3EAB2F
split-complementary
#2F7CAB #AB2F3E #AB9C2F
monochromatic
#15364B #22597B #2F7CAB #4A9BCD #7AB6DA
Accessibility & contrast
On white
4.57
#2F7CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#2F7CAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7CAB
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7CAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7CAB | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#667CAD
Deuteranopia (green-blind)
#5570AA
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2f7cab; /* rgb */ color: rgb(47, 124, 171); /* oklch */ color: oklch(56.0% 0.104 239.5);
Tailwind
colors: {
custom: {
50: '#78a1c4',
500: '#2f7cab',
950: '#000000',
},
}SCSS
$custom: #2f7cab; $custom-light: #78a1c4; $custom-dark: #000000;
JSON
{
"hex": "#2f7cab",
"rgb": {
"r": 47,
"g": 124,
"b": 171
},
"hsl": {
"h": 202.742,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.5605,
"c": 0.10408,
"h": 239.5
},
"luminance": 0.1796
}Semantic roles & 50–950 ramp
primary
#2F7CAB
secondary
#C39173
accent
#8148E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81