#3A5EA3#3A5EA3

#3A5EA3 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.0% C 0.118 H 262.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#3A5EA3
RGBrgb(58, 94, 163)
HSLhsl(219, 48%, 43%)
HSVhsv(219, 64%, 64%)
CMYKcmyk(64.4%, 42.3%, 0%, 36.1%)
CIE-LABlab(40.49, 9.80, -41.18)
CIE-LCHlch(40.49, 42.34, 283.39°)
OKLaboklab(49.01% -0.0162 -0.1173)
OKLCHoklch(49.01% 0.118 262.2)
XYZxyz(12.3562, 11.5481, 36.2211)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EA3 #A37F3A
analogous
#3A92A3 #3A5EA3 #4B3AA3
triadic
#3A5EA3 #A33A5E #5EA33A
tetradic
#3A5EA3 #A33A92 #A37F3A #3AA34B
square
#3A5EA3 #A33A92 #A37F3A #3AA34B
split-complementary
#3A5EA3 #A34B3A #92A33A
monochromatic
#1A2A49 #2A4476 #3A5EA3 #577CC3 #849FD3

Accessibility & contrast

On white

6.34
#3A5EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3A5EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EA3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EA3#FFFFFF#000000##FFFFFF
##3A5EA31.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F65A6
Deuteranopia (green-blind)
#2F5BA2
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a5ea3;
/* rgb */ color: rgb(58, 94, 163);
/* oklch */ color: oklch(49.0% 0.118 262.2);
Tailwind
colors: {
  custom: {
    50: '#7b8bbf',
    500: '#3a5ea3',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ea3;
$custom-light: #7b8bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ea3",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 219.429,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49012,
    "c": 0.11846,
    "h": 262.2
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#3A5EA3
secondary
#BDA77C
accent
#A951D7
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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