#3A6CCC#3A6CCC

#3A6CCC is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.8% C 0.159 H 261.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3A6CCC
RGBrgb(58, 108, 204)
HSLhsl(219, 59%, 51%)
HSVhsv(219, 72%, 80%)
CMYKcmyk(71.6%, 47.1%, 0%, 20%)
CIE-LABlab(46.95, 15.80, -54.75)
CIE-LCHlch(46.95, 56.98, 286.10°)
OKLaboklab(54.79% -0.0223 -0.157)
OKLCHoklch(54.79% 0.159 261.9)
XYZxyz(18.0027, 15.9824, 59.2512)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CCC #CC9A3A
analogous
#3AB5CC #3A6CCC #513ACC
triadic
#3A6CCC #CC3A6C #6CCC3A
tetradic
#3A6CCC #CC3AB5 #CC9A3A #3ACC51
square
#3A6CCC #CC3AB5 #CC9A3A #3ACC51
split-complementary
#3A6CCC #CC513A #B5CC3A
monochromatic
#1D396F #2952A0 #3A6CCC #6B90D9 #9BB5E5

Accessibility & contrast

On white

5.00
#3A6CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3A6CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CCC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CCC#FFFFFF#000000##FFFFFF
##3A6CCC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3976D0
Deuteranopia (green-blind)
#1469CA
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6ccc;
/* rgb */ color: rgb(58, 108, 204);
/* oklch */ color: oklch(54.8% 0.159 261.9);
Tailwind
colors: {
  custom: {
    50: '#8295dc',
    500: '#3a6ccc',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ccc;
$custom-light: #8295dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ccc",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 219.452,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54791,
    "c": 0.15857,
    "h": 261.9
  },
  "luminance": 0.15984
}

Semantic roles & 50–950 ramp

primary
#3A6CCC
secondary
#D1BB91
accent
#AD46E2
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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