#2F7CB6#2F7CB6

#2F7CB6 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.6% C 0.117 H 245.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2F7CB6
RGBrgb(47, 124, 182)
HSLhsl(206, 59%, 45%)
HSVhsv(206, 74%, 71%)
CMYKcmyk(74.2%, 31.9%, 0%, 28.6%)
CIE-LABlab(49.97, -3.65, -37.31)
CIE-LCHlch(49.97, 37.49, 264.42°)
OKLaboklab(56.64% -0.0494 -0.1058)
OKLCHoklch(56.64% 0.117 245)
XYZxyz(16.8202, 18.3951, 46.9110)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CB6 #B6692F
analogous
#2FB6AD #2F7CB6 #2F38B6
triadic
#2F7CB6 #B62F7C #7CB62F
tetradic
#2F7CB6 #AD2FB6 #B6692F #38B62F
square
#2F7CB6 #AD2FB6 #B6692F #38B62F
split-complementary
#2F7CB6 #B62F38 #B6AD2F
monochromatic
#163A55 #225B85 #2F7CB6 #509AD2 #81B6DE

Accessibility & contrast

On white

4.49
#2F7CB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2F7CB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CB6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CB6#FFFFFF#000000##000000
##2F7CB61.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7cb6;
/* rgb */ color: rgb(47, 124, 182);
/* oklch */ color: oklch(56.6% 0.117 245.0);
Tailwind
colors: {
  custom: {
    50: '#7aa1cc',
    500: '#2f7cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cb6;
$custom-light: #7aa1cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cb6",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 182
  },
  "hsl": {
    "h": 205.778,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5664,
    "c": 0.11671,
    "h": 245
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#2F7CB6
secondary
#C79B79
accent
#8946E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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