#3A5EA5#3A5EA5

#3A5EA5 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.121 H 262.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#3A5EA5
RGBrgb(58, 94, 165)
HSLhsl(220, 48%, 44%)
HSVhsv(220, 65%, 65%)
CMYKcmyk(64.8%, 43%, 0%, 35.3%)
CIE-LABlab(40.61, 10.53, -42.18)
CIE-LCHlch(40.61, 43.48, 284.01°)
OKLaboklab(49.14% -0.0158 -0.1203)
OKLCHoklch(49.14% 0.121 262.5)
XYZxyz(12.5368, 11.6204, 37.1723)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EA5 #A5813A
analogous
#3A93A5 #3A5EA5 #4B3AA5
triadic
#3A5EA5 #A53A5E #5EA53A
tetradic
#3A5EA5 #A53A93 #A5813A #3AA54B
square
#3A5EA5 #A53A93 #A5813A #3AA54B
split-complementary
#3A5EA5 #A54B3A #93A53A
monochromatic
#1A2A4A #2A4478 #3A5EA5 #587CC4 #85A0D4

Accessibility & contrast

On white

6.32
#3A5EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3A5EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EA5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EA5#FFFFFF#000000##FFFFFF
##3A5EA51.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A8
Deuteranopia (green-blind)
#2D5BA4
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5ea5;
/* rgb */ color: rgb(58, 94, 165);
/* oklch */ color: oklch(49.1% 0.121 262.5);
Tailwind
colors: {
  custom: {
    50: '#7b8bc0',
    500: '#3a5ea5',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ea5;
$custom-light: #7b8bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ea5",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 165
  },
  "hsl": {
    "h": 219.813,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49141,
    "c": 0.12131,
    "h": 262.5
  },
  "luminance": 0.11622
}

Semantic roles & 50–950 ramp

primary
#3A5EA5
secondary
#BEA87D
accent
#AA50D8
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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