#3A799F#3A799F

#3A799F is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.1% C 0.088 H 237.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3A799F
RGBrgb(58, 121, 159)
HSLhsl(203, 47%, 43%)
HSVhsv(203, 64%, 62%)
CMYKcmyk(63.5%, 23.9%, 0%, 37.6%)
CIE-LABlab(48.36, -8.17, -26.45)
CIE-LCHlch(48.36, 27.68, 252.83°)
OKLaboklab(55.11% -0.0468 -0.0742)
OKLCHoklch(55.11% 0.088 237.8)
XYZxyz(14.8379, 17.0760, 35.3082)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A799F #9F603A
analogous
#3A9F92 #3A799F #3A479F
triadic
#3A799F #9F3A79 #799F3A
tetradic
#3A799F #923A9F #9F603A #479F3A
square
#3A799F #923A9F #9F603A #479F3A
split-complementary
#3A799F #9F3A47 #9F923A
monochromatic
#193545 #2A5772 #3A799F #5598C1 #82B4D1

Accessibility & contrast

On white

4.76
#3A799F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3A799F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A799F
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A799F#FFFFFF#000000##FFFFFF
##3A799F1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6779A1
Deuteranopia (green-blind)
#596E9E
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a799f;
/* rgb */ color: rgb(58, 121, 159);
/* oklch */ color: oklch(55.1% 0.088 237.8);
Tailwind
colors: {
  custom: {
    50: '#7a9fbb',
    500: '#3a799f',
    950: '#000000',
  },
}
SCSS
$custom: #3a799f;
$custom-light: #7a9fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a799f",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 202.574,
    "s": 46.544,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.08771,
    "h": 237.8
  },
  "luminance": 0.17077
}

Semantic roles & 50–950 ramp

primary
#3A799F
secondary
#BB927A
accent
#8352D6
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3A799F

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

Preview Lab → · Contrast checker → · Palette generator →

#3A799F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva