#3A56CD#3A56CD

#3A56CD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.187 H 268.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3A56CD
RGBrgb(58, 86, 205)
HSLhsl(229, 60%, 52%)
HSVhsv(229, 72%, 80%)
CMYKcmyk(71.7%, 58%, 0%, 19.6%)
CIE-LABlab(41.15, 30.23, -64.70)
CIE-LCHlch(41.15, 71.41, 295.04°)
OKLaboklab(50.42% -0.0044 -0.1866)
OKLCHoklch(50.42% 0.187 268.7)
XYZxyz(16.0884, 11.9612, 59.2066)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A56CD #CDB13A
analogous
#3AA0CD #3A56CD #683ACD
triadic
#3A56CD #CD3A56 #56CD3A
tetradic
#3A56CD #CD3AA0 #CDB13A #3ACD68
square
#3A56CD #CD3AA0 #CDB13A #3ACD68
split-complementary
#3A56CD #CD683A #A0CD3A
monochromatic
#1C2C70 #2940A1 #3A56CD #6B80D9 #9CAAE6

Accessibility & contrast

On white

6.19
#3A56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3A56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A56CD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A56CD#FFFFFF#000000##FFFFFF
##3A56CD1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a56cd;
/* rgb */ color: rgb(58, 86, 205);
/* oklch */ color: oklch(50.4% 0.187 268.7);
Tailwind
colors: {
  custom: {
    50: '#8385dd',
    500: '#3a56cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a56cd;
$custom-light: #8385dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a56cd",
  "rgb": {
    "r": 58,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 228.571,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50423,
    "c": 0.18667,
    "h": 268.7
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#3A56CD
secondary
#D2C591
accent
#C545E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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