#3A799D#3A799D

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

Color values

HEX#3A799D
RGBrgb(58, 121, 157)
HSLhsl(202, 46%, 42%)
HSVhsv(202, 63%, 62%)
CMYKcmyk(63.1%, 22.9%, 0%, 38.4%)
CIE-LABlab(48.27, -8.84, -25.41)
CIE-LCHlch(48.27, 26.90, 250.81°)
OKLaboklab(55.01% -0.0475 -0.0712)
OKLCHoklch(55.01% 0.086 236.3)
XYZxyz(14.6658, 17.0072, 34.4016)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A799D #9D5E3A
analogous
#3A9D90 #3A799D #3A489D
triadic
#3A799D #9D3A79 #799D3A
tetradic
#3A799D #903A9D #9D5E3A #489D3A
square
#3A799D #903A9D #9D5E3A #489D3A
split-complementary
#3A799D #9D3A48 #9D903A
monochromatic
#193444 #295770 #3A799D #5499C0 #81B4D0

Accessibility & contrast

On white

4.77
#3A799D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3A799D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A799D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A799D#FFFFFF#000000##FFFFFF
##3A799D1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789F
Deuteranopia (green-blind)
#5A6E9C
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a799d;
/* rgb */ color: rgb(58, 121, 157);
/* oklch */ color: oklch(55.0% 0.086 236.3);
Tailwind
colors: {
  custom: {
    50: '#7a9fba',
    500: '#3a799d',
    950: '#000000',
  },
}
SCSS
$custom: #3a799d;
$custom-light: #7a9fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a799d",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 201.818,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.0856,
    "h": 236.3
  },
  "luminance": 0.17009
}

Semantic roles & 50–950 ramp

primary
#3A799D
secondary
#BA9079
accent
#8252D6
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #3A799D

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

Preview Lab → · Contrast checker → · Palette generator →

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