#2F799D#2F799D

#2F799D is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.091 H 233.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F799D
RGBrgb(47, 121, 157)
HSLhsl(200, 54%, 40%)
HSVhsv(200, 70%, 62%)
CMYKcmyk(70.1%, 22.9%, 0%, 38.4%)
CIE-LABlab(47.90, -10.77, -26.02)
CIE-LCHlch(47.90, 28.16, 247.52°)
OKLaboklab(54.61% -0.0547 -0.0731)
OKLCHoklch(54.61% 0.091 233.2)
XYZxyz(14.0931, 16.7119, 34.3747)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F799D #9D532F
analogous
#2F9D8A #2F799D #2F429D
triadic
#2F799D #9D2F79 #799D2F
tetradic
#2F799D #8A2F9D #9D532F #429D2F
square
#2F799D #8A2F9D #9D532F #429D2F
split-complementary
#2F799D #9D2F42 #9D8A2F
monochromatic
#13303F #21556E #2F799D #439BC7 #72B4D5

Accessibility & contrast

On white

4.84
#2F799D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2F799D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F799D
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F799D#FFFFFF#000000##FFFFFF
##2F799D1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67789F
Deuteranopia (green-blind)
#586D9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f799d;
/* rgb */ color: rgb(47, 121, 157);
/* oklch */ color: oklch(54.6% 0.091 233.2);
Tailwind
colors: {
  custom: {
    50: '#759fba',
    500: '#2f799d',
    950: '#000000',
  },
}
SCSS
$custom: #2f799d;
$custom-light: #759fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f799d",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 199.636,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.54611,
    "c": 0.09126,
    "h": 233.2
  },
  "luminance": 0.16713
}

Semantic roles & 50–950 ramp

primary
#2F799D
secondary
#BC866B
accent
#7B4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F799D

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

Preview Lab → · Contrast checker → · Palette generator →

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