#2F7893#2F7893

#2F7893 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.9% C 0.083 H 226.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F7893
RGBrgb(47, 120, 147)
HSLhsl(196, 52%, 38%)
HSVhsv(196, 68%, 58%)
CMYKcmyk(68%, 18.4%, 0%, 42.4%)
CIE-LABlab(47.16, -13.62, -21.27)
CIE-LCHlch(47.16, 25.26, 237.37°)
OKLaboklab(53.89% -0.0574 -0.0595)
OKLCHoklch(53.89% 0.083 226)
XYZxyz(13.1531, 16.1424, 30.0207)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7893 #934A2F
analogous
#2F937C #2F7893 #2F4693
triadic
#2F7893 #932F78 #78932F
tetradic
#2F7893 #7C2F93 #934A2F #46932F
square
#2F7893 #7C2F93 #934A2F #46932F
split-complementary
#2F7893 #932F46 #937C2F
monochromatic
#112C36 #205265 #2F7893 #3E9EC1 #6CB5D0

Accessibility & contrast

On white

4.97
#2F7893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2F7893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7893
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7893#FFFFFF#000000##FFFFFF
##2F78931.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697694
Deuteranopia (green-blind)
#5B6B93
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7893;
/* rgb */ color: rgb(47, 120, 147);
/* oklch */ color: oklch(53.9% 0.083 226.0);
Tailwind
colors: {
  custom: {
    50: '#749fb2',
    500: '#2f7893',
    950: '#000000',
  },
}
SCSS
$custom: #2f7893;
$custom-light: #749fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7893",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 147
  },
  "hsl": {
    "h": 196.2,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.53885,
    "c": 0.08266,
    "h": 226
  },
  "luminance": 0.16144
}

Semantic roles & 50–950 ramp

primary
#2F7893
secondary
#B77C66
accent
#734DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7893

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

Preview Lab → · Contrast checker → · Palette generator →

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