#3A79B2#3A79B2

#3A79B2 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.1% C 0.110 H 248.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3A79B2
RGBrgb(58, 121, 178)
HSLhsl(209, 51%, 46%)
HSVhsv(209, 67%, 70%)
CMYKcmyk(67.4%, 32%, 0%, 30.2%)
CIE-LABlab(49.24, -1.62, -36.13)
CIE-LCHlch(49.24, 36.17, 267.43°)
OKLaboklab(56.1% -0.0406 -0.1022)
OKLCHoklch(56.1% 0.11 248.3)
XYZxyz(16.6152, 17.7869, 44.6684)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79B2 #B2733A
analogous
#3AB2AF #3A79B2 #3A3DB2
triadic
#3A79B2 #B23A79 #79B23A
tetradic
#3A79B2 #AF3AB2 #B2733A #3DB23A
square
#3A79B2 #AF3AB2 #B2733A #3DB23A
split-complementary
#3A79B2 #B23A3D #B2AF3A
monochromatic
#1C3A56 #2B5A84 #3A79B2 #5F97CB #8DB5DA

Accessibility & contrast

On white

4.61
#3A79B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3A79B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A79B2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79B2#FFFFFF#000000##FFFFFF
##3A79B21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607BB4
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a79b2;
/* rgb */ color: rgb(58, 121, 178);
/* oklch */ color: oklch(56.1% 0.110 248.3);
Tailwind
colors: {
  custom: {
    50: '#7d9fc9',
    500: '#3a79b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a79b2;
$custom-light: #7d9fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79b2",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 208.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56096,
    "c": 0.11,
    "h": 248.3
  },
  "luminance": 0.17789
}

Semantic roles & 50–950 ramp

primary
#3A79B2
secondary
#C4A283
accent
#904DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3A79B2

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

Preview Lab → · Contrast checker → · Palette generator →

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