#3A5EAD#3A5EAD

#3A5EAD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.133 H 263.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#3A5EAD
RGBrgb(58, 94, 173)
HSLhsl(221, 50%, 45%)
HSVhsv(221, 66%, 68%)
CMYKcmyk(66.5%, 45.7%, 0%, 32.2%)
CIE-LABlab(41.09, 13.43, -46.14)
CIE-LCHlch(41.09, 48.06, 286.22°)
OKLaboklab(49.67% -0.0143 -0.1319)
OKLCHoklch(49.67% 0.133 263.8)
XYZxyz(13.2878, 11.9208, 41.1277)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EAD #AD893A
analogous
#3A98AD #3A5EAD #4F3AAD
triadic
#3A5EAD #AD3A5E #5EAD3A
tetradic
#3A5EAD #AD3A98 #AD893A #3AAD4F
square
#3A5EAD #AD3A98 #AD893A #3AAD4F
split-complementary
#3A5EAD #AD4F3A #98AD3A
monochromatic
#1B2C51 #2B457F #3A5EAD #5C7EC8 #8AA2D8

Accessibility & contrast

On white

6.20
#3A5EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3A5EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EAD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EAD#FFFFFF#000000##FFFFFF
##3A5EAD1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B0
Deuteranopia (green-blind)
#235CAB
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5ead;
/* rgb */ color: rgb(58, 94, 173);
/* oklch */ color: oklch(49.7% 0.133 263.8);
Tailwind
colors: {
  custom: {
    50: '#7c8bc6',
    500: '#3a5ead',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ead;
$custom-light: #7c8bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ead",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 173
  },
  "hsl": {
    "h": 221.217,
    "s": 49.784,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4967,
    "c": 0.13268,
    "h": 263.8
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#3A5EAD
secondary
#C2AE81
accent
#AE4ED9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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