#2F7DB4#2F7DB4

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

Color values

HEX#2F7DB4
RGBrgb(47, 125, 180)
HSLhsl(205, 59%, 45%)
HSVhsv(205, 74%, 71%)
CMYKcmyk(73.9%, 30.6%, 0%, 29.4%)
CIE-LABlab(50.17, -4.96, -35.84)
CIE-LCHlch(50.17, 36.18, 262.12°)
OKLaboklab(56.77% -0.0509 -0.1014)
OKLCHoklch(56.77% 0.114 243.3)
XYZxyz(16.7409, 18.5649, 45.8723)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DB4 #B4662F
analogous
#2FB4A9 #2F7DB4 #2F3BB4
triadic
#2F7DB4 #B42F7D #7DB42F
tetradic
#2F7DB4 #A92FB4 #B4662F #3BB42F
square
#2F7DB4 #A92FB4 #B4662F #3BB42F
split-complementary
#2F7DB4 #B42F3B #B4A92F
monochromatic
#163A53 #225B83 #2F7DB4 #4F9BD1 #80B7DE

Accessibility & contrast

On white

4.46
#2F7DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F7DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DB4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DB4#FFFFFF#000000##000000
##2F7DB41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB6
Deuteranopia (green-blind)
#5172B3
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7db4;
/* rgb */ color: rgb(47, 125, 180);
/* oklch */ color: oklch(56.8% 0.114 243.3);
Tailwind
colors: {
  custom: {
    50: '#79a2ca',
    500: '#2f7db4',
    950: '#000000',
  },
}
SCSS
$custom: #2f7db4;
$custom-light: #79a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7db4",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 180
  },
  "hsl": {
    "h": 204.812,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.11353,
    "h": 243.3
  },
  "luminance": 0.18567
}

Semantic roles & 50–950 ramp

primary
#2F7DB4
secondary
#C79978
accent
#8646E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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