#2F7DA1#2F7DA1

#2F7DA1 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.8% C 0.093 H 232.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F7DA1
RGBrgb(47, 125, 161)
HSLhsl(199, 55%, 41%)
HSVhsv(199, 71%, 63%)
CMYKcmyk(70.8%, 22.4%, 0%, 36.9%)
CIE-LABlab(49.31, -11.67, -26.17)
CIE-LCHlch(49.31, 28.65, 245.97°)
OKLaboklab(55.79% -0.0574 -0.0735)
OKLCHoklch(55.79% 0.093 232)
XYZxyz(14.9364, 17.8431, 36.3682)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DA1 #A1532F
analogous
#2FA18C #2F7DA1 #2F44A1
triadic
#2F7DA1 #A12F7D #7DA12F
tetradic
#2F7DA1 #8C2FA1 #A1532F #44A12F
square
#2F7DA1 #8C2FA1 #A1532F #44A12F
split-complementary
#2F7DA1 #A12F44 #A18C2F
monochromatic
#133342 #215872 #2F7DA1 #459FC9 #74B7D6

Accessibility & contrast

On white

4.60
#2F7DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2F7DA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7DA1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DA1#FFFFFF#000000##FFFFFF
##2F7DA11.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7CA3
Deuteranopia (green-blind)
#5B70A0
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7da1;
/* rgb */ color: rgb(47, 125, 161);
/* oklch */ color: oklch(55.8% 0.093 232.0);
Tailwind
colors: {
  custom: {
    50: '#76a2bd',
    500: '#2f7da1',
    950: '#000000',
  },
}
SCSS
$custom: #2f7da1;
$custom-light: #76a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7da1",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 161
  },
  "hsl": {
    "h": 198.947,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.09325,
    "h": 232
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#2F7DA1
secondary
#BE876E
accent
#794ADE
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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