#2F7A94#2F7A94

#2F7A94 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.4% C 0.083 H 224.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F7A94
RGBrgb(47, 122, 148)
HSLhsl(195, 52%, 38%)
HSVhsv(195, 68%, 58%)
CMYKcmyk(68.2%, 17.6%, 0%, 42%)
CIE-LABlab(47.83, -14.41, -20.84)
CIE-LCHlch(47.83, 25.33, 235.33°)
OKLaboklab(54.43% -0.0592 -0.0582)
OKLCHoklch(54.43% 0.083 224.5)
XYZxyz(13.4750, 16.6601, 30.5168)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A94 #94492F
analogous
#2F947B #2F7A94 #2F4794
triadic
#2F7A94 #942F7A #7A942F
tetradic
#2F7A94 #7B2F94 #94492F #47942F
square
#2F7A94 #7B2F94 #94492F #47942F
split-complementary
#2F7A94 #942F47 #947B2F
monochromatic
#112D37 #205466 #2F7A94 #3EA0C2 #6DB7D1

Accessibility & contrast

On white

4.85
#2F7A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2F7A94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A94
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A94#FFFFFF#000000##FFFFFF
##2F7A941.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7795
Deuteranopia (green-blind)
#5D6D94
Tritanopia (blue-blind)
#008282
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f7a94;
/* rgb */ color: rgb(47, 122, 148);
/* oklch */ color: oklch(54.4% 0.083 224.5);
Tailwind
colors: {
  custom: {
    50: '#74a0b3',
    500: '#2f7a94',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a94;
$custom-light: #74a0b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a94",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 148
  },
  "hsl": {
    "h": 195.446,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54433,
    "c": 0.08302,
    "h": 224.5
  },
  "luminance": 0.16662
}

Semantic roles & 50–950 ramp

primary
#2F7A94
secondary
#B87C67
accent
#714DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7A94

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

Preview Lab → · Contrast checker → · Palette generator →

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