#2F7DB5#2F7DB5

#2F7DB5 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.8% C 0.115 H 243.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F7DB5
RGBrgb(47, 125, 181)
HSLhsl(205, 59%, 45%)
HSVhsv(205, 74%, 71%)
CMYKcmyk(74%, 30.9%, 0%, 29%)
CIE-LABlab(50.22, -4.60, -36.34)
CIE-LCHlch(50.22, 36.63, 262.79°)
OKLaboklab(56.82% -0.0506 -0.1029)
OKLCHoklch(56.82% 0.115 243.8)
XYZxyz(16.8432, 18.6058, 46.4107)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DB5 #B5672F
analogous
#2FB5AA #2F7DB5 #2F3AB5
triadic
#2F7DB5 #B52F7D #7DB52F
tetradic
#2F7DB5 #AA2FB5 #B5672F #3AB52F
square
#2F7DB5 #AA2FB5 #B5672F #3AB52F
split-complementary
#2F7DB5 #B52F3A #B5AA2F
monochromatic
#163A54 #225B84 #2F7DB5 #509BD1 #80B7DE

Accessibility & contrast

On white

4.45
#2F7DB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2F7DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DB5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DB5#FFFFFF#000000##000000
##2F7DB51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#637EB7
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7db5;
/* rgb */ color: rgb(47, 125, 181);
/* oklch */ color: oklch(56.8% 0.115 243.8);
Tailwind
colors: {
  custom: {
    50: '#79a2cb',
    500: '#2f7db5',
    950: '#000000',
  },
}
SCSS
$custom: #2f7db5;
$custom-light: #79a2cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7db5",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 181
  },
  "hsl": {
    "h": 205.075,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.11469,
    "h": 243.8
  },
  "luminance": 0.18608
}

Semantic roles & 50–950 ramp

primary
#2F7DB5
secondary
#C79979
accent
#8746E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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