#3A53C5#3A53C5

#3A53C5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.180 H 269.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#3A53C5
RGBrgb(58, 83, 197)
HSLhsl(229, 55%, 50%)
HSVhsv(229, 71%, 77%)
CMYKcmyk(70.6%, 57.9%, 0%, 22.7%)
CIE-LABlab(39.77, 29.27, -62.31)
CIE-LCHlch(39.77, 68.85, 295.16°)
OKLaboklab(49.2% -0.0023 -0.1796)
OKLCHoklch(49.2% 0.18 269.3)
XYZxyz(14.9128, 11.1158, 54.1721)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A53C5 #C5AC3A
analogous
#3A98C5 #3A53C5 #673AC5
triadic
#3A53C5 #C53A53 #53C53A
tetradic
#3A53C5 #C53A98 #C5AC3A #3AC567
square
#3A53C5 #C53A98 #C5AC3A #3AC567
split-complementary
#3A53C5 #C5673A #98C53A
monochromatic
#1E2B66 #2C3F96 #3A53C5 #697CD3 #99A6E1

Accessibility & contrast

On white

6.51
#3A53C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3A53C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A53C5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A53C5#FFFFFF#000000##FFFFFF
##3A53C51.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a53c5;
/* rgb */ color: rgb(58, 83, 197);
/* oklch */ color: oklch(49.2% 0.180 269.3);
Tailwind
colors: {
  custom: {
    50: '#8283d7',
    500: '#3a53c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a53c5;
$custom-light: #8283d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a53c5",
  "rgb": {
    "r": 58,
    "g": 83,
    "b": 197
  },
  "hsl": {
    "h": 229.209,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.17965,
    "h": 269.3
  },
  "luminance": 0.11117
}

Semantic roles & 50–950 ramp

primary
#3A53C5
secondary
#CDC18E
accent
#C34ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A53C5

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

Preview Lab → · Contrast checker → · Palette generator →

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