#3A79BA#3A79BA

#3A79BA is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.5% C 0.120 H 251.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3A79BA
RGBrgb(58, 121, 186)
HSLhsl(210, 52%, 48%)
HSVhsv(210, 69%, 73%)
CMYKcmyk(68.8%, 34.9%, 0%, 27.1%)
CIE-LABlab(49.64, 1.21, -40.12)
CIE-LCHlch(49.64, 40.14, 271.73°)
OKLaboklab(56.54% -0.0383 -0.1139)
OKLCHoklch(56.54% 0.12 251.4)
XYZxyz(17.4419, 18.1176, 49.0227)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A79BA #BA7B3A
analogous
#3AB9BA #3A79BA #3B3ABA
triadic
#3A79BA #BA3A79 #79BA3A
tetradic
#3A79BA #BA3AB9 #BA7B3A #3ABA3B
square
#3A79BA #BA3AB9 #BA7B3A #3ABA3B
split-complementary
#3A79BA #BA3B3A #B9BA3A
monochromatic
#1D3C5D #2B5B8B #3A79BA #6398CE #92B7DD

Accessibility & contrast

On white

4.54
#3A79BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#3A79BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A79BA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A79BA#FFFFFF#000000##000000
##3A79BA1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBD
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3a79ba;
/* rgb */ color: rgb(58, 121, 186);
/* oklch */ color: oklch(56.5% 0.120 251.4);
Tailwind
colors: {
  custom: {
    50: '#7e9fcf',
    500: '#3a79ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a79ba;
$custom-light: #7e9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a79ba",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 186
  },
  "hsl": {
    "h": 210.469,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.12015,
    "h": 251.4
  },
  "luminance": 0.18119
}

Semantic roles & 50–950 ramp

primary
#3A79BA
secondary
#C8A888
accent
#954CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3A79BA

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

Preview Lab → · Contrast checker → · Palette generator →

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