#3A5CCD#3A5CCD

#3A5CCD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.179 H 267.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3A5CCD
RGBrgb(58, 92, 205)
HSLhsl(226, 60%, 52%)
HSVhsv(226, 72%, 80%)
CMYKcmyk(71.7%, 55.1%, 0%, 19.6%)
CIE-LABlab(42.70, 26.39, -62.18)
CIE-LCHlch(42.70, 67.55, 292.99°)
OKLaboklab(51.58% -0.0089 -0.1791)
OKLCHoklch(51.58% 0.179 267.1)
XYZxyz(16.5877, 12.9599, 59.3731)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CCD #CDAB3A
analogous
#3AA6CD #3A5CCD #623ACD
triadic
#3A5CCD #CD3A5C #5CCD3A
tetradic
#3A5CCD #CD3AA6 #CDAB3A #3ACD62
square
#3A5CCD #CD3AA6 #CDAB3A #3ACD62
split-complementary
#3A5CCD #CD623A #A6CD3A
monochromatic
#1C3070 #2945A1 #3A5CCD #6B84D9 #9CADE6

Accessibility & contrast

On white

5.85
#3A5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3A5CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CCD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CCD#FFFFFF#000000##FFFFFF
##3A5CCD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a5ccd;
/* rgb */ color: rgb(58, 92, 205);
/* oklch */ color: oklch(51.6% 0.179 267.1);
Tailwind
colors: {
  custom: {
    50: '#8389dd',
    500: '#3a5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ccd;
$custom-light: #8389dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ccd",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 226.122,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.17935,
    "h": 267.1
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#3A5CCD
secondary
#D2C391
accent
#BE45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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