#3A53C6#3A53C6

#3A53C6 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.3% C 0.181 H 269.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#3A53C6
RGBrgb(58, 83, 198)
HSLhsl(229, 55%, 50%)
HSVhsv(229, 71%, 78%)
CMYKcmyk(70.7%, 58.1%, 0%, 22.4%)
CIE-LABlab(39.85, 29.63, -62.77)
CIE-LCHlch(39.85, 69.41, 295.27°)
OKLaboklab(49.28% -0.0022 -0.181)
OKLCHoklch(49.28% 0.181 269.3)
XYZxyz(15.0277, 11.1618, 54.7776)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A53C6 #C6AD3A
analogous
#3A99C6 #3A53C6 #673AC6
triadic
#3A53C6 #C63A53 #53C63A
tetradic
#3A53C6 #C63A99 #C6AD3A #3AC667
square
#3A53C6 #C63A99 #C6AD3A #3AC667
split-complementary
#3A53C6 #C6673A #99C63A
monochromatic
#1E2B68 #2C3F97 #3A53C6 #697CD4 #99A6E1

Accessibility & contrast

On white

6.50
#3A53C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3A53C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A53C6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A53C6#FFFFFF#000000##FFFFFF
##3A53C61.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a53c6;
/* rgb */ color: rgb(58, 83, 198);
/* oklch */ color: oklch(49.3% 0.181 269.3);
Tailwind
colors: {
  custom: {
    50: '#8283d8',
    500: '#3a53c6',
    950: '#000000',
  },
}
SCSS
$custom: #3a53c6;
$custom-light: #8283d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a53c6",
  "rgb": {
    "r": 58,
    "g": 83,
    "b": 198
  },
  "hsl": {
    "h": 229.286,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.18099,
    "h": 269.3
  },
  "luminance": 0.11163
}

Semantic roles & 50–950 ramp

primary
#3A53C6
secondary
#CDC28F
accent
#C449DE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A53C6

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

Preview Lab → · Contrast checker → · Palette generator →

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