#3A5EA2#3A5EA2

#3A5EA2 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 48.9% C 0.117 H 262.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#3A5EA2
RGBrgb(58, 94, 162)
HSLhsl(219, 47%, 43%)
HSVhsv(219, 64%, 64%)
CMYKcmyk(64.2%, 42%, 0%, 36.5%)
CIE-LABlab(40.43, 9.44, -40.68)
CIE-LCHlch(40.43, 41.76, 283.07°)
OKLaboklab(48.95% -0.0164 -0.1159)
OKLCHoklch(48.95% 0.117 262)
XYZxyz(12.2669, 11.5125, 35.7511)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EA2 #A27E3A
analogous
#3A92A2 #3A5EA2 #4A3AA2
triadic
#3A5EA2 #A23A5E #5EA23A
tetradic
#3A5EA2 #A23A92 #A27E3A #3AA24A
square
#3A5EA2 #A23A92 #A27E3A #3AA24A
split-complementary
#3A5EA2 #A24A3A #92A23A
monochromatic
#1A2A48 #2A4475 #3A5EA2 #577CC3 #849FD3

Accessibility & contrast

On white

6.36
#3A5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3A5EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EA2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EA2#FFFFFF#000000##FFFFFF
##3A5EA21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#305BA1
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a5ea2;
/* rgb */ color: rgb(58, 94, 162);
/* oklch */ color: oklch(48.9% 0.117 262.0);
Tailwind
colors: {
  custom: {
    50: '#7a8bbe',
    500: '#3a5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ea2;
$custom-light: #7a8bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ea2",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 219.231,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48948,
    "c": 0.11703,
    "h": 262
  },
  "luminance": 0.11514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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