#3A5BD5#3A5BD5

#3A5BD5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.191 H 267.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#3A5BD5
RGBrgb(58, 91, 213)
HSLhsl(227, 65%, 53%)
HSVhsv(227, 73%, 84%)
CMYKcmyk(72.8%, 57.3%, 0%, 16.5%)
CIE-LABlab(43.04, 29.93, -66.23)
CIE-LCHlch(43.04, 72.68, 294.32°)
OKLaboklab(52.02% -0.0078 -0.191)
OKLCHoklch(52.02% 0.191 267.7)
XYZxyz(17.4921, 13.1840, 64.5608)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BD5 #D5B43A
analogous
#3AA8D5 #3A5BD5 #663AD5
triadic
#3A5BD5 #D53A5B #5BD53A
tetradic
#3A5BD5 #D53AA8 #D5B43A #3AD566
square
#3A5BD5 #D53AA8 #D5B43A #3AD566
split-complementary
#3A5BD5 #D5663A #A8D53A
monochromatic
#1A2F7A #2542AD #3A5BD5 #6C85E0 #9FAFEB

Accessibility & contrast

On white

5.77
#3A5BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3A5BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BD5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BD5#FFFFFF#000000##FFFFFF
##3A5BD51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3a5bd5;
/* rgb */ color: rgb(58, 91, 213);
/* oklch */ color: oklch(52.0% 0.191 267.7);
Tailwind
colors: {
  custom: {
    50: '#8589e3',
    500: '#3a5bd5',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bd5;
$custom-light: #8589e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bd5",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 227.226,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52023,
    "c": 0.1912,
    "h": 267.7
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#3A5BD5
secondary
#D7C994
accent
#C440E8
background
#F8F8FE
surface
#F0EFFC
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #3A5BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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