#2F7DB7#2F7DB7

#2F7DB7 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.117 H 244.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F7DB7
RGBrgb(47, 125, 183)
HSLhsl(206, 59%, 45%)
HSVhsv(206, 74%, 72%)
CMYKcmyk(74.3%, 31.7%, 0%, 28.2%)
CIE-LABlab(50.32, -3.88, -37.34)
CIE-LCHlch(50.32, 37.54, 264.07°)
OKLaboklab(56.93% -0.05 -0.1058)
OKLCHoklch(56.93% 0.117 244.7)
XYZxyz(17.0499, 18.6885, 47.4992)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DB7 #B7692F
analogous
#2FB7AD #2F7DB7 #2F39B7
triadic
#2F7DB7 #B72F7D #7DB72F
tetradic
#2F7DB7 #AD2FB7 #B7692F #39B72F
square
#2F7DB7 #AD2FB7 #B7692F #39B72F
split-complementary
#2F7DB7 #B72F39 #B7AD2F
monochromatic
#163A56 #225C86 #2F7DB7 #519BD2 #82B7DF

Accessibility & contrast

On white

4.43
#2F7DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2F7DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DB7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DB7#FFFFFF#000000##000000
##2F7DB71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBA
Deuteranopia (green-blind)
#4F72B6
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7db7;
/* rgb */ color: rgb(47, 125, 183);
/* oklch */ color: oklch(56.9% 0.117 244.7);
Tailwind
colors: {
  custom: {
    50: '#7aa2cd',
    500: '#2f7db7',
    950: '#000000',
  },
}
SCSS
$custom: #2f7db7;
$custom-light: #7aa2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7db7",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 183
  },
  "hsl": {
    "h": 205.588,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56931,
    "c": 0.11705,
    "h": 244.7
  },
  "luminance": 0.1869
}

Semantic roles & 50–950 ramp

primary
#2F7DB7
secondary
#C89B7A
accent
#8845E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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