#3A5BD3#3A5BD3

#3A5BD3 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.189 H 267.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3A5BD3
RGBrgb(58, 91, 211)
HSLhsl(227, 63%, 53%)
HSVhsv(227, 73%, 83%)
CMYKcmyk(72.5%, 56.9%, 0%, 17.3%)
CIE-LABlab(42.89, 29.20, -65.33)
CIE-LCHlch(42.89, 71.56, 294.09°)
OKLaboklab(51.86% -0.0079 -0.1884)
OKLCHoklch(51.86% 0.189 267.6)
XYZxyz(17.2398, 13.0830, 63.2321)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BD3 #D3B23A
analogous
#3AA7D3 #3A5BD3 #663AD3
triadic
#3A5BD3 #D33A5B #5BD33A
tetradic
#3A5BD3 #D33AA7 #D3B23A #3AD366
square
#3A5BD3 #D33AA7 #D3B23A #3AD366
split-complementary
#3A5BD3 #D3663A #A7D33A
monochromatic
#1B2F78 #2642AA #3A5BD3 #6C85DE #9EAEE9

Accessibility & contrast

On white

5.81
#3A5BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3A5BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BD3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BD3#FFFFFF#000000##FFFFFF
##3A5BD31.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a5bd3;
/* rgb */ color: rgb(58, 91, 211);
/* oklch */ color: oklch(51.9% 0.189 267.6);
Tailwind
colors: {
  custom: {
    50: '#8489e1',
    500: '#3a5bd3',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bd3;
$custom-light: #8489e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bd3",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 227.059,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51863,
    "c": 0.18857,
    "h": 267.6
  },
  "luminance": 0.13085
}

Semantic roles & 50–950 ramp

primary
#3A5BD3
secondary
#D6C793
accent
#C341E7
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A5BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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