#3A5CCE#3A5CCE

#3A5CCE is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.181 H 267.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3A5CCE
RGBrgb(58, 92, 206)
HSLhsl(226, 60%, 52%)
HSVhsv(226, 72%, 81%)
CMYKcmyk(71.8%, 55.3%, 0%, 19.2%)
CIE-LABlab(42.78, 26.75, -62.64)
CIE-LCHlch(42.78, 68.11, 293.13°)
OKLaboklab(51.66% -0.0089 -0.1805)
OKLCHoklch(51.66% 0.181 267.2)
XYZxyz(16.7088, 13.0083, 60.0108)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CCE #CEAC3A
analogous
#3AA6CE #3A5CCE #623ACE
triadic
#3A5CCE #CE3A5C #5CCE3A
tetradic
#3A5CCE #CE3AA6 #CEAC3A #3ACE62
square
#3A5CCE #CE3AA6 #CEAC3A #3ACE62
split-complementary
#3A5CCE #CE623A #A6CE3A
monochromatic
#1C3071 #2844A2 #3A5CCE #6B85DA #9CADE6

Accessibility & contrast

On white

5.83
#3A5CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3A5CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CCE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CCE#FFFFFF#000000##FFFFFF
##3A5CCE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a5cce;
/* rgb */ color: rgb(58, 92, 206);
/* oklch */ color: oklch(51.7% 0.181 267.2);
Tailwind
colors: {
  custom: {
    50: '#8389de',
    500: '#3a5cce',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cce;
$custom-light: #8389de;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cce",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 226.216,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51662,
    "c": 0.1807,
    "h": 267.2
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A5CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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