#3A6ECC#3A6ECC

#3A6ECC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.2% C 0.156 H 261.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3A6ECC
RGBrgb(58, 110, 204)
HSLhsl(219, 59%, 51%)
HSVhsv(219, 72%, 80%)
CMYKcmyk(71.6%, 46.1%, 0%, 20%)
CIE-LABlab(47.51, 14.54, -53.85)
CIE-LCHlch(47.51, 55.78, 285.11°)
OKLaboklab(55.22% -0.0241 -0.1543)
OKLCHoklch(55.22% 0.156 261.1)
XYZxyz(18.2160, 16.4091, 59.3223)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6ECC #CC983A
analogous
#3AB7CC #3A6ECC #4F3ACC
triadic
#3A6ECC #CC3A6E #6ECC3A
tetradic
#3A6ECC #CC3AB7 #CC983A #3ACC4F
square
#3A6ECC #CC3AB7 #CC983A #3ACC4F
split-complementary
#3A6ECC #CC4F3A #B7CC3A
monochromatic
#1D3A6F #2953A0 #3A6ECC #6B92D9 #9BB6E5

Accessibility & contrast

On white

4.90
#3A6ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3A6ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6ECC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6ECC#FFFFFF#000000##FFFFFF
##3A6ECC1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#1D6ACA
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a6ecc;
/* rgb */ color: rgb(58, 110, 204);
/* oklch */ color: oklch(55.2% 0.156 261.1);
Tailwind
colors: {
  custom: {
    50: '#8297dc',
    500: '#3a6ecc',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ecc;
$custom-light: #8297dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ecc",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 204
  },
  "hsl": {
    "h": 218.63,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55218,
    "c": 0.15619,
    "h": 261.1
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#3A6ECC
secondary
#D1BA91
accent
#AA46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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