#3A5EB0#3A5EB0

#3A5EB0 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.137 H 264.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#3A5EB0
RGBrgb(58, 94, 176)
HSLhsl(222, 50%, 46%)
HSVhsv(222, 67%, 69%)
CMYKcmyk(67%, 46.6%, 0%, 31%)
CIE-LABlab(41.28, 14.52, -47.61)
CIE-LCHlch(41.28, 49.77, 286.96°)
OKLaboklab(49.87% -0.0138 -0.1362)
OKLCHoklch(49.87% 0.137 264.2)
XYZxyz(13.5814, 12.0382, 42.6737)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5EB0 #B08C3A
analogous
#3A99B0 #3A5EB0 #513AB0
triadic
#3A5EB0 #B03A5E #5EB03A
tetradic
#3A5EB0 #B03A99 #B08C3A #3AB051
square
#3A5EB0 #B03A99 #B08C3A #3AB051
split-complementary
#3A5EB0 #B0513A #99B03A
monochromatic
#1C2D54 #2B4582 #3A5EB0 #5D7ECA #8BA3D9

Accessibility & contrast

On white

6.16
#3A5EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3A5EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5EB0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5EB0#FFFFFF#000000##FFFFFF
##3A5EB01.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B3
Deuteranopia (green-blind)
#1E5CAE
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5eb0;
/* rgb */ color: rgb(58, 94, 176);
/* oklch */ color: oklch(49.9% 0.137 264.2);
Tailwind
colors: {
  custom: {
    50: '#7d8bc8',
    500: '#3a5eb0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5eb0;
$custom-light: #7d8bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5eb0",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 221.695,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49873,
    "c": 0.13692,
    "h": 264.2
  },
  "luminance": 0.1204
}

Semantic roles & 50–950 ramp

primary
#3A5EB0
secondary
#C3B082
accent
#AF4EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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