#3A5DC0#3A5DC0

#3A5DC0 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.160 H 266.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3A5DC0
RGBrgb(58, 93, 192)
HSLhsl(224, 54%, 49%)
HSVhsv(224, 70%, 75%)
CMYKcmyk(69.8%, 51.6%, 0%, 24.7%)
CIE-LABlab(42.05, 21.00, -55.72)
CIE-LCHlch(42.05, 59.55, 290.65°)
OKLaboklab(50.8% -0.0108 -0.1601)
OKLCHoklch(50.8% 0.16 266.1)
XYZxyz(15.1704, 12.5325, 51.4785)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DC0 #C09D3A
analogous
#3AA0C0 #3A5DC0 #5A3AC0
triadic
#3A5DC0 #C03A5D #5DC03A
tetradic
#3A5DC0 #C03AA0 #C09D3A #3AC05A
square
#3A5DC0 #C03AA0 #C09D3A #3AC05A
split-complementary
#3A5DC0 #C05A3A #A0C03A
monochromatic
#1E2F62 #2C4691 #3A5DC0 #6682D1 #95A9DF

Accessibility & contrast

On white

5.99
#3A5DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3A5DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DC0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DC0#FFFFFF#000000##FFFFFF
##3A5DC01.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6AC4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a5dc0;
/* rgb */ color: rgb(58, 93, 192);
/* oklch */ color: oklch(50.8% 0.160 266.1);
Tailwind
colors: {
  custom: {
    50: '#808ad4',
    500: '#3a5dc0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5dc0;
$custom-light: #808ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5dc0",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 224.328,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50799,
    "c": 0.16046,
    "h": 266.1
  },
  "luminance": 0.12534
}

Semantic roles & 50–950 ramp

primary
#3A5DC0
secondary
#CABA8B
accent
#B74BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3A5DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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