#3A5EAE#3A5EAE

#3A5EAE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.7% C 0.134 H 264.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3A5EAE
RGBrgb(58, 94, 174)
HSLhsl(221, 50%, 45%)
HSVhsv(221, 67%, 68%)
CMYKcmyk(66.7%, 46%, 0%, 31.8%)
CIE-LABlab(41.15, 13.79, -46.63)
CIE-LCHlch(41.15, 48.63, 286.47°)
OKLaboklab(49.74% -0.0141 -0.1333)
OKLCHoklch(49.74% 0.134 264)
XYZxyz(13.3849, 11.9597, 41.6392)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EAE #AE8A3A
analogous
#3A98AE #3A5EAE #503AAE
triadic
#3A5EAE #AE3A5E #5EAE3A
tetradic
#3A5EAE #AE3A98 #AE8A3A #3AAE50
square
#3A5EAE #AE3A98 #AE8A3A #3AAE50
split-complementary
#3A5EAE #AE503A #98AE3A
monochromatic
#1B2C52 #2B4580 #3A5EAE #5C7EC9 #8AA2D8

Accessibility & contrast

On white

6.19
#3A5EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3A5EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EAE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EAE#FFFFFF#000000##FFFFFF
##3A5EAE1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5eae;
/* rgb */ color: rgb(58, 94, 174);
/* oklch */ color: oklch(49.7% 0.134 264.0);
Tailwind
colors: {
  custom: {
    50: '#7d8bc7',
    500: '#3a5eae',
    950: '#000000',
  },
}
SCSS
$custom: #3a5eae;
$custom-light: #7d8bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5eae",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 221.379,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49737,
    "c": 0.1341,
    "h": 264
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A5EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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