#2F7CB0#2F7CB0

#2F7CB0 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.3% C 0.110 H 242.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F7CB0
RGBrgb(47, 124, 176)
HSLhsl(204, 58%, 44%)
HSVhsv(204, 73%, 69%)
CMYKcmyk(73.3%, 29.5%, 0%, 31%)
CIE-LABlab(49.68, -5.81, -34.30)
CIE-LCHlch(49.68, 34.79, 260.39°)
OKLaboklab(56.31% -0.0512 -0.097)
OKLCHoklch(56.31% 0.11 242.2)
XYZxyz(16.2134, 18.1524, 43.7151)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CB0 #B0632F
analogous
#2FB0A3 #2F7CB0 #2F3BB0
triadic
#2F7CB0 #B02F7C #7CB02F
tetradic
#2F7CB0 #A32FB0 #B0632F #3BB02F
square
#2F7CB0 #A32FB0 #B0632F #3BB02F
split-complementary
#2F7CB0 #B02F3B #B0A32F
monochromatic
#15384F #225A80 #2F7CB0 #4D9BCF #7DB6DC

Accessibility & contrast

On white

4.53
#2F7CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2F7CB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CB0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CB0#FFFFFF#000000##000000
##2F7CB01.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB2
Deuteranopia (green-blind)
#5271AF
Tritanopia (blue-blind)
#00898E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7cb0;
/* rgb */ color: rgb(47, 124, 176);
/* oklch */ color: oklch(56.3% 0.110 242.2);
Tailwind
colors: {
  custom: {
    50: '#79a1c8',
    500: '#2f7cb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cb0;
$custom-light: #79a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cb0",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 176
  },
  "hsl": {
    "h": 204.186,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56314,
    "c": 0.1097,
    "h": 242.2
  },
  "luminance": 0.18154
}

Semantic roles & 50–950 ramp

primary
#2F7CB0
secondary
#C59676
accent
#8547E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7CB0

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F7CB0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva