#2F7DB6#2F7DB6

#2F7DB6 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.9% C 0.116 H 244.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F7DB6
RGBrgb(47, 125, 182)
HSLhsl(205, 59%, 45%)
HSVhsv(205, 74%, 71%)
CMYKcmyk(74.2%, 31.3%, 0%, 28.6%)
CIE-LABlab(50.27, -4.24, -36.84)
CIE-LCHlch(50.27, 37.08, 263.44°)
OKLaboklab(56.88% -0.0503 -0.1044)
OKLCHoklch(56.88% 0.116 244.3)
XYZxyz(16.9461, 18.6470, 46.9530)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DB6 #B6682F
analogous
#2FB6AB #2F7DB6 #2F3AB6
triadic
#2F7DB6 #B62F7D #7DB62F
tetradic
#2F7DB6 #AB2FB6 #B6682F #3AB62F
square
#2F7DB6 #AB2FB6 #B6682F #3AB62F
split-complementary
#2F7DB6 #B62F3A #B6AB2F
monochromatic
#163A55 #225C85 #2F7DB6 #509BD2 #81B7DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7DB6#FFFFFF#000000##000000
##2F7DB61.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)
#637FB8
Deuteranopia (green-blind)
#5072B5
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7db6;
/* rgb */ color: rgb(47, 125, 182);
/* oklch */ color: oklch(56.9% 0.116 244.3);
Tailwind
colors: {
  custom: {
    50: '#7aa2cc',
    500: '#2f7db6',
    950: '#000000',
  },
}
SCSS
$custom: #2f7db6;
$custom-light: #7aa2cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7db6",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 182
  },
  "hsl": {
    "h": 205.333,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56876,
    "c": 0.11587,
    "h": 244.3
  },
  "luminance": 0.18649
}

Semantic roles & 50–950 ramp

primary
#2F7DB6
secondary
#C79A79
accent
#8846E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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