#2F7CB7#2F7CB7

#2F7CB7 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.7% C 0.118 H 245.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2F7CB7
RGBrgb(47, 124, 183)
HSLhsl(206, 59%, 45%)
HSVhsv(206, 74%, 72%)
CMYKcmyk(74.3%, 32.2%, 0%, 28.2%)
CIE-LABlab(50.02, -3.28, -37.81)
CIE-LCHlch(50.02, 37.95, 265.04°)
OKLaboklab(56.69% -0.0491 -0.1072)
OKLCHoklch(56.69% 0.118 245.4)
XYZxyz(16.9239, 18.4366, 47.4572)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CB7 #B76A2F
analogous
#2FB7AE #2F7CB7 #2F38B7
triadic
#2F7CB7 #B72F7C #7CB72F
tetradic
#2F7CB7 #AE2FB7 #B76A2F #38B72F
square
#2F7CB7 #AE2FB7 #B76A2F #38B72F
split-complementary
#2F7CB7 #B72F38 #B7AE2F
monochromatic
#163A56 #225B86 #2F7CB7 #519AD2 #82B6DF

Accessibility & contrast

On white

4.48
#2F7CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2F7CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CB7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CB7#FFFFFF#000000##000000
##2F7CB71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#617EBA
Deuteranopia (green-blind)
#4E71B6
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7cb7;
/* rgb */ color: rgb(47, 124, 183);
/* oklch */ color: oklch(56.7% 0.118 245.4);
Tailwind
colors: {
  custom: {
    50: '#7aa1cd',
    500: '#2f7cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cb7;
$custom-light: #7aa1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cb7",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 183
  },
  "hsl": {
    "h": 206.029,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.1179,
    "h": 245.4
  },
  "luminance": 0.18439
}

Semantic roles & 50–950 ramp

primary
#2F7CB7
secondary
#C89C7A
accent
#8A45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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