#3A79A2#3A79A2

#3A79A2 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.3% C 0.091 H 239.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3A79A2
RGBrgb(58, 121, 162)
HSLhsl(204, 47%, 43%)
HSVhsv(204, 64%, 64%)
CMYKcmyk(64.2%, 25.3%, 0%, 36.5%)
CIE-LABlab(48.49, -7.16, -28.00)
CIE-LCHlch(48.49, 28.90, 255.66°)
OKLaboklab(55.26% -0.0457 -0.0786)
OKLCHoklch(55.26% 0.091 239.8)
XYZxyz(15.1014, 17.1814, 36.6959)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79A2 #A2633A
analogous
#3AA297 #3A79A2 #3A45A2
triadic
#3A79A2 #A23A79 #79A23A
tetradic
#3A79A2 #973AA2 #A2633A #45A23A
square
#3A79A2 #973AA2 #A2633A #45A23A
split-complementary
#3A79A2 #A23A45 #A2973A
monochromatic
#1A3648 #2A5775 #3A79A2 #5798C3 #84B4D3

Accessibility & contrast

On white

4.73
#3A79A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3A79A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A79A2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79A2#FFFFFF#000000##FFFFFF
##3A79A21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6679A4
Deuteranopia (green-blind)
#586FA1
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a79a2;
/* rgb */ color: rgb(58, 121, 162);
/* oklch */ color: oklch(55.3% 0.091 239.8);
Tailwind
colors: {
  custom: {
    50: '#7b9fbd',
    500: '#3a79a2',
    950: '#000000',
  },
}
SCSS
$custom: #3a79a2;
$custom-light: #7b9fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79a2",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 203.654,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55259,
    "c": 0.09099,
    "h": 239.8
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#3A79A2
secondary
#BD957B
accent
#8651D7
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3A79A2

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

Preview Lab → · Contrast checker → · Palette generator →

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