#2F7994#2F7994

#2F7994 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.083 H 225.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F7994
RGBrgb(47, 121, 148)
HSLhsl(196, 52%, 38%)
HSVhsv(196, 68%, 58%)
CMYKcmyk(68.2%, 18.2%, 0%, 42%)
CIE-LABlab(47.52, -13.85, -21.32)
CIE-LCHlch(47.52, 25.42, 236.99°)
OKLaboklab(54.18% -0.0581 -0.0596)
OKLCHoklch(54.18% 0.083 225.7)
XYZxyz(13.3528, 16.4158, 30.4761)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7994 #944A2F
analogous
#2F947C #2F7994 #2F4694
triadic
#2F7994 #942F79 #79942F
tetradic
#2F7994 #7C2F94 #944A2F #46942F
square
#2F7994 #7C2F94 #944A2F #46942F
split-complementary
#2F7994 #942F46 #947C2F
monochromatic
#112D37 #205366 #2F7994 #3E9FC2 #6DB6D1

Accessibility & contrast

On white

4.90
#2F7994 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2F7994 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7994
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7994#FFFFFF#000000##FFFFFF
##2F79941.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7795
Deuteranopia (green-blind)
#5C6C94
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f7994;
/* rgb */ color: rgb(47, 121, 148);
/* oklch */ color: oklch(54.2% 0.083 225.7);
Tailwind
colors: {
  custom: {
    50: '#749fb3',
    500: '#2f7994',
    950: '#000000',
  },
}
SCSS
$custom: #2f7994;
$custom-light: #749fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7994",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 148
  },
  "hsl": {
    "h": 196.04,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54182,
    "c": 0.08323,
    "h": 225.7
  },
  "luminance": 0.16417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7994

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

Preview Lab → · Contrast checker → · Palette generator →

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