#3A5CD0#3A5CD0

#3A5CD0 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.183 H 267.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3A5CD0
RGBrgb(58, 92, 208)
HSLhsl(226, 61%, 52%)
HSVhsv(226, 72%, 82%)
CMYKcmyk(72.1%, 55.8%, 0%, 18.4%)
CIE-LABlab(42.92, 27.48, -63.55)
CIE-LCHlch(42.92, 69.24, 293.38°)
OKLaboklab(51.82% -0.0088 -0.1832)
OKLCHoklch(51.82% 0.183 267.3)
XYZxyz(16.9533, 13.1061, 61.2985)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CD0 #D0AE3A
analogous
#3AA7D0 #3A5CD0 #633AD0
triadic
#3A5CD0 #D03A5C #5CD03A
tetradic
#3A5CD0 #D03AA7 #D0AE3A #3AD063
square
#3A5CD0 #D03AA7 #D0AE3A #3AD063
split-complementary
#3A5CD0 #D0633A #A7D03A
monochromatic
#1C3074 #2744A5 #3A5CD0 #6B85DC #9DAEE8

Accessibility & contrast

On white

5.80
#3A5CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A5CD0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CD0#FFFFFF#000000##FFFFFF
##3A5CD01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD4
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a5cd0;
/* rgb */ color: rgb(58, 92, 208);
/* oklch */ color: oklch(51.8% 0.183 267.3);
Tailwind
colors: {
  custom: {
    50: '#8489df',
    500: '#3a5cd0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cd0;
$custom-light: #8489df;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cd0",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 208
  },
  "hsl": {
    "h": 226.4,
    "s": 61.475,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51818,
    "c": 0.18337,
    "h": 267.3
  },
  "luminance": 0.13108
}

Semantic roles & 50–950 ramp

primary
#3A5CD0
secondary
#D4C592
accent
#C043E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A5CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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