#2F7CB1#2F7CB1

#2F7CB1 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.4% C 0.111 H 242.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F7CB1
RGBrgb(47, 124, 177)
HSLhsl(204, 58%, 44%)
HSVhsv(204, 73%, 69%)
CMYKcmyk(73.4%, 29.9%, 0%, 30.6%)
CIE-LABlab(49.73, -5.45, -34.81)
CIE-LCHlch(49.73, 35.23, 261.10°)
OKLaboklab(56.37% -0.0509 -0.0985)
OKLCHoklch(56.37% 0.111 242.7)
XYZxyz(16.3127, 18.1921, 44.2381)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CB1 #B1642F
analogous
#2FB1A5 #2F7CB1 #2F3BB1
triadic
#2F7CB1 #B12F7C #7CB12F
tetradic
#2F7CB1 #A52FB1 #B1642F #3BB12F
square
#2F7CB1 #A52FB1 #B1642F #3BB12F
split-complementary
#2F7CB1 #B12F3B #B1A52F
monochromatic
#153850 #225A81 #2F7CB1 #4D9BD0 #7EB6DD

Accessibility & contrast

On white

4.53
#2F7CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2F7CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CB1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CB1#FFFFFF#000000##000000
##2F7CB11.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB3
Deuteranopia (green-blind)
#5271B0
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7cb1;
/* rgb */ color: rgb(47, 124, 177);
/* oklch */ color: oklch(56.4% 0.111 242.7);
Tailwind
colors: {
  custom: {
    50: '#79a1c8',
    500: '#2f7cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cb1;
$custom-light: #79a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cb1",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 177
  },
  "hsl": {
    "h": 204.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56367,
    "c": 0.11084,
    "h": 242.7
  },
  "luminance": 0.18194
}

Semantic roles & 50–950 ramp

primary
#2F7CB1
secondary
#C59776
accent
#8647E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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