#2F7A9C#2F7A9C

#2F7A9C is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.8% C 0.090 H 231.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F7A9C
RGBrgb(47, 122, 156)
HSLhsl(199, 54%, 40%)
HSVhsv(199, 70%, 61%)
CMYKcmyk(69.9%, 21.8%, 0%, 38.8%)
CIE-LABlab(48.16, -11.69, -25.02)
CIE-LCHlch(48.16, 27.61, 244.97°)
OKLaboklab(54.81% -0.0561 -0.0702)
OKLCHoklch(54.81% 0.09 231.4)
XYZxyz(14.1302, 16.9222, 33.9677)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A9C #9C512F
analogous
#2F9C88 #2F7A9C #2F439C
triadic
#2F7A9C #9C2F7A #7A9C2F
tetradic
#2F7A9C #882F9C #9C512F #439C2F
square
#2F7A9C #882F9C #9C512F #439C2F
split-complementary
#2F7A9C #9C2F43 #9C882F
monochromatic
#13303E #21556D #2F7A9C #429DC6 #71B5D4

Accessibility & contrast

On white

4.79
#2F7A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2F7A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A9C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A9C#FFFFFF#000000##FFFFFF
##2F7A9C1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69789E
Deuteranopia (green-blind)
#5A6E9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7a9c;
/* rgb */ color: rgb(47, 122, 156);
/* oklch */ color: oklch(54.8% 0.090 231.4);
Tailwind
colors: {
  custom: {
    50: '#75a0b9',
    500: '#2f7a9c',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a9c;
$custom-light: #75a0b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a9c",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 156
  },
  "hsl": {
    "h": 198.716,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.08986,
    "h": 231.4
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#2F7A9C
secondary
#BC846B
accent
#784BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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