#3A799C#3A799C

#3A799C is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.085 H 235.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3A799C
RGBrgb(58, 121, 156)
HSLhsl(201, 46%, 42%)
HSVhsv(201, 63%, 61%)
CMYKcmyk(62.8%, 22.4%, 0%, 38.8%)
CIE-LABlab(48.23, -9.18, -24.89)
CIE-LCHlch(48.23, 26.53, 249.76°)
OKLaboklab(54.97% -0.0479 -0.0697)
OKLCHoklch(54.97% 0.085 235.5)
XYZxyz(14.5807, 16.9731, 33.9538)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A799C #9C5D3A
analogous
#3A9C8E #3A799C #3A489C
triadic
#3A799C #9C3A79 #799C3A
tetradic
#3A799C #8E3A9C #9C5D3A #489C3A
square
#3A799C #8E3A9C #9C5D3A #489C3A
split-complementary
#3A799C #9C3A48 #9C8E3A
monochromatic
#193443 #29566F #3A799C #5499BF #80B4D0

Accessibility & contrast

On white

4.78
#3A799C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3A799C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A799C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A799C#FFFFFF#000000##FFFFFF
##3A799C1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789E
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3a799c;
/* rgb */ color: rgb(58, 121, 156);
/* oklch */ color: oklch(55.0% 0.085 235.5);
Tailwind
colors: {
  custom: {
    50: '#7a9fb9',
    500: '#3a799c',
    950: '#000000',
  },
}
SCSS
$custom: #3a799c;
$custom-light: #7a9fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a799c",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 201.429,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54965,
    "c": 0.08457,
    "h": 235.5
  },
  "luminance": 0.16975
}

Semantic roles & 50–950 ramp

primary
#3A799C
secondary
#BA9078
accent
#8152D5
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #3A799C

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

Preview Lab → · Contrast checker → · Palette generator →

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