#2F7B94#2F7B94

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

Color values

HEX#2F7B94
RGBrgb(47, 123, 148)
HSLhsl(195, 52%, 38%)
HSVhsv(195, 68%, 58%)
CMYKcmyk(68.2%, 16.9%, 0%, 42%)
CIE-LABlab(48.14, -14.97, -20.35)
CIE-LCHlch(48.14, 25.26, 233.67°)
OKLaboklab(54.68% -0.0603 -0.0568)
OKLCHoklch(54.68% 0.083 223.3)
XYZxyz(13.5984, 16.9069, 30.5579)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B94 #94482F
analogous
#2F947A #2F7B94 #2F4994
triadic
#2F7B94 #942F7B #7B942F
tetradic
#2F7B94 #7A2F94 #94482F #49942F
square
#2F7B94 #7A2F94 #94482F #49942F
split-complementary
#2F7B94 #942F49 #947A2F
monochromatic
#112E37 #205466 #2F7B94 #3EA1C2 #6DB8D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7B94#FFFFFF#000000##FFFFFF
##2F7B941.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)
#6D7895
Deuteranopia (green-blind)
#5F6E94
Tritanopia (blue-blind)
#008383
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7b94;
/* rgb */ color: rgb(47, 123, 148);
/* oklch */ color: oklch(54.7% 0.083 223.3);
Tailwind
colors: {
  custom: {
    50: '#74a1b3',
    500: '#2f7b94',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b94;
$custom-light: #74a1b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b94",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 148
  },
  "hsl": {
    "h": 194.851,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.08285,
    "h": 223.3
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

primary
#2F7B94
secondary
#B87B67
accent
#704DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2F7B94

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

Preview Lab → · Contrast checker → · Palette generator →

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