#3A79B4#3A79B4

#3A79B4 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.113 H 249.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3A79B4
RGBrgb(58, 121, 180)
HSLhsl(209, 51%, 47%)
HSVhsv(209, 68%, 71%)
CMYKcmyk(67.8%, 32.8%, 0%, 29.4%)
CIE-LABlab(49.34, -0.92, -37.13)
CIE-LCHlch(49.34, 37.14, 268.58°)
OKLaboklab(56.21% -0.04 -0.1051)
OKLCHoklch(56.21% 0.113 249.2)
XYZxyz(16.8174, 17.8678, 45.7337)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79B4 #B4753A
analogous
#3AB4B2 #3A79B4 #3A3CB4
triadic
#3A79B4 #B43A79 #79B43A
tetradic
#3A79B4 #B23AB4 #B4753A #3CB43A
square
#3A79B4 #B23AB4 #B4753A #3CB43A
split-complementary
#3A79B4 #B43A3C #B4B23A
monochromatic
#1C3B57 #2B5A86 #3A79B4 #6097CC #8EB5DB

Accessibility & contrast

On white

4.59
#3A79B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#3A79B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A79B4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79B4#FFFFFF#000000##FFFFFF
##3A79B41.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB7
Deuteranopia (green-blind)
#4E70B3
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a79b4;
/* rgb */ color: rgb(58, 121, 180);
/* oklch */ color: oklch(56.2% 0.113 249.2);
Tailwind
colors: {
  custom: {
    50: '#7d9fca',
    500: '#3a79b4',
    950: '#000000',
  },
}
SCSS
$custom: #3a79b4;
$custom-light: #7d9fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79b4",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 180
  },
  "hsl": {
    "h": 209.016,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.11251,
    "h": 249.2
  },
  "luminance": 0.1787
}

Semantic roles & 50–950 ramp

primary
#3A79B4
secondary
#C5A485
accent
#924DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3A79B4

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

Preview Lab → · Contrast checker → · Palette generator →

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