#2F7EB0#2F7EB0

#2F7EB0 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.8% C 0.108 H 240.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F7EB0
RGBrgb(47, 126, 176)
HSLhsl(203, 58%, 44%)
HSVhsv(203, 73%, 69%)
CMYKcmyk(73.3%, 28.4%, 0%, 31%)
CIE-LABlab(50.29, -6.98, -33.35)
CIE-LCHlch(50.29, 34.08, 258.18°)
OKLaboklab(56.79% -0.0532 -0.0942)
OKLCHoklch(56.79% 0.108 240.5)
XYZxyz(16.4666, 18.6588, 43.7995)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EB0 #B0612F
analogous
#2FB0A1 #2F7EB0 #2F3DB0
triadic
#2F7EB0 #B02F7E #7EB02F
tetradic
#2F7EB0 #A12FB0 #B0612F #3DB02F
square
#2F7EB0 #A12FB0 #B0612F #3DB02F
split-complementary
#2F7EB0 #B02F3D #B0A12F
monochromatic
#15394F #225B80 #2F7EB0 #4D9DCF #7DB7DC

Accessibility & contrast

On white

4.44
#2F7EB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2F7EB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EB0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EB0#FFFFFF#000000##000000
##2F7EB01.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#677EB2
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#008A8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7eb0;
/* rgb */ color: rgb(47, 126, 176);
/* oklch */ color: oklch(56.8% 0.108 240.5);
Tailwind
colors: {
  custom: {
    50: '#79a3c8',
    500: '#2f7eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f7eb0;
$custom-light: #79a3c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7eb0",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 176
  },
  "hsl": {
    "h": 203.256,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56793,
    "c": 0.10821,
    "h": 240.5
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#2F7EB0
secondary
#C59576
accent
#8347E1
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F7EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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