#3A79B3#3A79B3

#3A79B3 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.2% C 0.111 H 248.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3A79B3
RGBrgb(58, 121, 179)
HSLhsl(209, 51%, 46%)
HSVhsv(209, 68%, 70%)
CMYKcmyk(67.6%, 32.4%, 0%, 29.8%)
CIE-LABlab(49.29, -1.27, -36.63)
CIE-LCHlch(49.29, 36.65, 268.01°)
OKLaboklab(56.15% -0.0403 -0.1037)
OKLCHoklch(56.15% 0.111 248.8)
XYZxyz(16.7159, 17.8272, 45.1991)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79B3 #B3743A
analogous
#3AB3B1 #3A79B3 #3A3DB3
triadic
#3A79B3 #B33A79 #79B33A
tetradic
#3A79B3 #B13AB3 #B3743A #3DB33A
square
#3A79B3 #B13AB3 #B3743A #3DB33A
split-complementary
#3A79B3 #B33A3D #B3B13A
monochromatic
#1C3B57 #2B5A85 #3A79B3 #5F97CB #8DB5DA

Accessibility & contrast

On white

4.60
#3A79B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A79B3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79B3#FFFFFF#000000##FFFFFF
##3A79B31.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a79b3;
/* rgb */ color: rgb(58, 121, 179);
/* oklch */ color: oklch(56.2% 0.111 248.8);
Tailwind
colors: {
  custom: {
    50: '#7d9fca',
    500: '#3a79b3',
    950: '#000000',
  },
}
SCSS
$custom: #3a79b3;
$custom-light: #7d9fca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79b3",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 179
  },
  "hsl": {
    "h": 208.76,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56151,
    "c": 0.11125,
    "h": 248.8
  },
  "luminance": 0.17829
}

Semantic roles & 50–950 ramp

primary
#3A79B3
secondary
#C5A384
accent
#914DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3A79B3

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

Preview Lab → · Contrast checker → · Palette generator →

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