#3A6CCD#3A6CCD

#3A6CCD is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.9% C 0.160 H 262.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3A6CCD
RGBrgb(58, 108, 205)
HSLhsl(220, 60%, 52%)
HSVhsv(220, 72%, 80%)
CMYKcmyk(71.7%, 47.3%, 0%, 19.6%)
CIE-LABlab(47.01, 16.17, -55.22)
CIE-LCHlch(47.01, 57.54, 286.32°)
OKLaboklab(54.86% -0.0222 -0.1584)
OKLCHoklch(54.86% 0.16 262)
XYZxyz(18.1230, 16.0305, 59.8848)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CCD #CD9B3A
analogous
#3AB6CD #3A6CCD #523ACD
triadic
#3A6CCD #CD3A6C #6CCD3A
tetradic
#3A6CCD #CD3AB6 #CD9B3A #3ACD52
square
#3A6CCD #CD3AB6 #CD9B3A #3ACD52
split-complementary
#3A6CCD #CD523A #B6CD3A
monochromatic
#1C3970 #2952A1 #3A6CCD #6B90D9 #9CB5E6

Accessibility & contrast

On white

4.99
#3A6CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3A6CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CCD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CCD#FFFFFF#000000##FFFFFF
##3A6CCD1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#1169CB
Tritanopia (blue-blind)
#008392
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6ccd;
/* rgb */ color: rgb(58, 108, 205);
/* oklch */ color: oklch(54.9% 0.160 262.0);
Tailwind
colors: {
  custom: {
    50: '#8295dd',
    500: '#3a6ccd',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ccd;
$custom-light: #8295dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ccd",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 205
  },
  "hsl": {
    "h": 219.592,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.15992,
    "h": 262
  },
  "luminance": 0.16032
}

Semantic roles & 50–950 ramp

primary
#3A6CCD
secondary
#D2BC91
accent
#AD45E3
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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