#2F799E#2F799E

#2F799E is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.7% C 0.092 H 233.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F799E
RGBrgb(47, 121, 158)
HSLhsl(200, 54%, 40%)
HSVhsv(200, 70%, 62%)
CMYKcmyk(70.3%, 23.4%, 0%, 38%)
CIE-LABlab(47.94, -10.42, -26.54)
CIE-LCHlch(47.94, 28.51, 248.56°)
OKLaboklab(54.66% -0.0543 -0.0745)
OKLCHoklch(54.66% 0.092 233.9)
XYZxyz(14.1788, 16.7461, 34.8262)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F799E #9E542F
analogous
#2F9E8B #2F799E #2F429E
triadic
#2F799E #9E2F79 #799E2F
tetradic
#2F799E #8B2F9E #9E542F #429E2F
square
#2F799E #8B2F9E #9E542F #429E2F
split-complementary
#2F799E #9E2F42 #9E8B2F
monochromatic
#133140 #21556F #2F799E #439BC7 #72B4D5

Accessibility & contrast

On white

4.83
#2F799E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2F799E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F799E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F799E#FFFFFF#000000##FFFFFF
##2F799E1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A0
Deuteranopia (green-blind)
#586D9D
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f799e;
/* rgb */ color: rgb(47, 121, 158);
/* oklch */ color: oklch(54.7% 0.092 233.9);
Tailwind
colors: {
  custom: {
    50: '#759fba',
    500: '#2f799e',
    950: '#000000',
  },
}
SCSS
$custom: #2f799e;
$custom-light: #759fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f799e",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 158
  },
  "hsl": {
    "h": 200,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.09224,
    "h": 233.9
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#2F799E
secondary
#BD876C
accent
#7B4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F799E

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

Preview Lab → · Contrast checker → · Palette generator →

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