#3A79C8#3A79C8

#3A79C8 is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.4% C 0.138 H 255.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3A79C8
RGBrgb(58, 121, 200)
HSLhsl(213, 56%, 51%)
HSVhsv(213, 71%, 78%)
CMYKcmyk(71%, 39.5%, 0%, 21.6%)
CIE-LABlab(50.38, 6.23, -46.97)
CIE-LCHlch(50.38, 47.38, 277.56°)
OKLaboklab(57.37% -0.0348 -0.1339)
OKLCHoklch(57.37% 0.138 255.4)
XYZxyz(19.0038, 18.7424, 57.2485)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79C8 #C8893A
analogous
#3AC0C8 #3A79C8 #423AC8
triadic
#3A79C8 #C83A79 #79C83A
tetradic
#3A79C8 #C83AC0 #C8893A #3AC842
square
#3A79C8 #C83AC0 #C8893A #3AC842
split-complementary
#3A79C8 #C8423A #C0C83A
monochromatic
#1E3F6A #2B5C9A #3A79C8 #6A9AD5 #9ABAE3

Accessibility & contrast

On white

4.42
#3A79C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#3A79C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A79C8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79C8#FFFFFF#000000##000000
##3A79C81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCB
Deuteranopia (green-blind)
#3E72C6
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a79c8;
/* rgb */ color: rgb(58, 121, 200);
/* oklch */ color: oklch(57.4% 0.138 255.4);
Tailwind
colors: {
  custom: {
    50: '#819fd9',
    500: '#3a79c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a79c8;
$custom-light: #819fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79c8",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 213.38,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.13837,
    "h": 255.4
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#3A79C8
secondary
#CEB28F
accent
#9C48E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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