#3A5CD3#3A5CD3

#3A5CD3 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.187 H 267.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#3A5CD3
RGBrgb(58, 92, 211)
HSLhsl(227, 63%, 53%)
HSVhsv(227, 73%, 83%)
CMYKcmyk(72.5%, 56.4%, 0%, 17.3%)
CIE-LABlab(43.15, 28.57, -64.91)
CIE-LCHlch(43.15, 70.92, 293.75°)
OKLaboklab(52.05% -0.0086 -0.1872)
OKLCHoklch(52.05% 0.187 267.4)
XYZxyz(17.3259, 13.2551, 63.2608)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CD3 #D3B13A
analogous
#3AA8D3 #3A5CD3 #653AD3
triadic
#3A5CD3 #D33A5C #5CD33A
tetradic
#3A5CD3 #D33AA8 #D3B13A #3AD365
square
#3A5CD3 #D33AA8 #D3B13A #3AD365
split-complementary
#3A5CD3 #D3653A #A8D33A
monochromatic
#1B2F78 #2643AA #3A5CD3 #6C85DE #9EAFE9

Accessibility & contrast

On white

5.75
#3A5CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#3A5CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CD3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CD3#FFFFFF#000000##FFFFFF
##3A5CD31.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a5cd3;
/* rgb */ color: rgb(58, 92, 211);
/* oklch */ color: oklch(52.1% 0.187 267.4);
Tailwind
colors: {
  custom: {
    50: '#8489e1',
    500: '#3a5cd3',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cd3;
$custom-light: #8489e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cd3",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 226.667,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52055,
    "c": 0.18736,
    "h": 267.4
  },
  "luminance": 0.13257
}

Semantic roles & 50–950 ramp

primary
#3A5CD3
secondary
#D6C793
accent
#C241E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A5CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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