#2F7CB3#2F7CB3

#2F7CB3 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.5% C 0.113 H 243.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2F7CB3
RGBrgb(47, 124, 179)
HSLhsl(205, 58%, 44%)
HSVhsv(205, 74%, 70%)
CMYKcmyk(73.7%, 30.7%, 0%, 29.8%)
CIE-LABlab(49.82, -4.73, -35.81)
CIE-LCHlch(49.82, 36.12, 262.48°)
OKLaboklab(56.47% -0.0503 -0.1014)
OKLCHoklch(56.47% 0.113 243.6)
XYZxyz(16.5135, 18.2724, 45.2957)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CB3 #B3662F
analogous
#2FB3A8 #2F7CB3 #2F3AB3
triadic
#2F7CB3 #B32F7C #7CB32F
tetradic
#2F7CB3 #A82FB3 #B3662F #3AB32F
square
#2F7CB3 #A82FB3 #B3662F #3AB32F
split-complementary
#2F7CB3 #B32F3A #B3A82F
monochromatic
#163952 #225A83 #2F7CB3 #4F9AD1 #7FB6DD

Accessibility & contrast

On white

4.51
#2F7CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2F7CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CB3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CB3#FFFFFF#000000##000000
##2F7CB31.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB5
Deuteranopia (green-blind)
#5071B2
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7cb3;
/* rgb */ color: rgb(47, 124, 179);
/* oklch */ color: oklch(56.5% 0.113 243.6);
Tailwind
colors: {
  custom: {
    50: '#79a1ca',
    500: '#2f7cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cb3;
$custom-light: #79a1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cb3",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 179
  },
  "hsl": {
    "h": 205,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56475,
    "c": 0.11316,
    "h": 243.6
  },
  "luminance": 0.18274
}

Semantic roles & 50–950 ramp

primary
#2F7CB3
secondary
#C69878
accent
#8746E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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