#3A5ED2#3A5ED2

#3A5ED2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.184 H 266.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3A5ED2
RGBrgb(58, 94, 210)
HSLhsl(226, 63%, 53%)
HSVhsv(226, 72%, 82%)
CMYKcmyk(72.4%, 55.2%, 0%, 17.6%)
CIE-LABlab(43.59, 26.92, -63.62)
CIE-LCHlch(43.59, 69.08, 292.94°)
OKLaboklab(52.37% -0.0102 -0.1833)
OKLCHoklch(52.37% 0.184 266.8)
XYZxyz(17.3764, 13.5563, 62.6611)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5ED2 #D2AE3A
analogous
#3AAAD2 #3A5ED2 #623AD2
triadic
#3A5ED2 #D23A5E #5ED23A
tetradic
#3A5ED2 #D23AAA #D2AE3A #3AD262
square
#3A5ED2 #D23AAA #D2AE3A #3AD262
split-complementary
#3A5ED2 #D2623A #AAD23A
monochromatic
#1B3177 #2645A8 #3A5ED2 #6C87DD #9EAFE9

Accessibility & contrast

On white

5.66
#3A5ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3A5ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5ED2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5ED2#FFFFFF#000000##FFFFFF
##3A5ED21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a5ed2;
/* rgb */ color: rgb(58, 94, 210);
/* oklch */ color: oklch(52.4% 0.184 266.8);
Tailwind
colors: {
  custom: {
    50: '#848be1',
    500: '#3a5ed2',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ed2;
$custom-light: #848be1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ed2",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 225.789,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.1836,
    "h": 266.8
  },
  "luminance": 0.13558
}

Semantic roles & 50–950 ramp

primary
#3A5ED2
secondary
#D5C593
accent
#BF42E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A5ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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