#3A5EA0#3A5EA0

#3A5EA0 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.8% C 0.114 H 261.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#3A5EA0
RGBrgb(58, 94, 160)
HSLhsl(219, 47%, 43%)
HSVhsv(219, 64%, 63%)
CMYKcmyk(63.8%, 41.3%, 0%, 37.3%)
CIE-LABlab(40.31, 8.73, -39.68)
CIE-LCHlch(40.31, 40.62, 282.40°)
OKLaboklab(48.82% -0.0168 -0.1129)
OKLCHoklch(48.82% 0.114 261.5)
XYZxyz(12.0906, 11.4419, 34.8222)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EA0 #A07C3A
analogous
#3A91A0 #3A5EA0 #493AA0
triadic
#3A5EA0 #A03A5E #5EA03A
tetradic
#3A5EA0 #A03A91 #A07C3A #3AA049
square
#3A5EA0 #A03A91 #A07C3A #3AA049
split-complementary
#3A5EA0 #A0493A #91A03A
monochromatic
#192946 #2A4473 #3A5EA0 #567CC2 #839FD2

Accessibility & contrast

On white

6.39
#3A5EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3A5EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EA0
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EA0#FFFFFF#000000##FFFFFF
##3A5EA01.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4164A3
Deuteranopia (green-blind)
#325B9F
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3a5ea0;
/* rgb */ color: rgb(58, 94, 160);
/* oklch */ color: oklch(48.8% 0.114 261.5);
Tailwind
colors: {
  custom: {
    50: '#7a8bbc',
    500: '#3a5ea0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5ea0;
$custom-light: #7a8bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5ea0",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 218.824,
    "s": 46.789,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48822,
    "c": 0.11417,
    "h": 261.5
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#3A5EA0
secondary
#BCA57A
accent
#A751D6
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3A5EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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