#3A5FB0#3A5FB0

#3A5FB0 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.136 H 263.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#3A5FB0
RGBrgb(58, 95, 176)
HSLhsl(221, 50%, 46%)
HSVhsv(221, 67%, 69%)
CMYKcmyk(67%, 46%, 0%, 31%)
CIE-LABlab(41.56, 13.87, -47.16)
CIE-LCHlch(41.56, 49.15, 286.39°)
OKLaboklab(50.09% -0.0148 -0.1349)
OKLCHoklch(50.09% 0.136 263.7)
XYZxyz(13.6709, 12.2172, 42.7036)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5FB0 #B08B3A
analogous
#3A9AB0 #3A5FB0 #503AB0
triadic
#3A5FB0 #B03A5F #5FB03A
tetradic
#3A5FB0 #B03A9A #B08B3A #3AB050
square
#3A5FB0 #B03A9A #B08B3A #3AB050
split-complementary
#3A5FB0 #B0503A #9AB03A
monochromatic
#1C2D54 #2B4682 #3A5FB0 #5D7FCA #8BA4D9

Accessibility & contrast

On white

6.10
#3A5FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3A5FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5FB0
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5FB0#FFFFFF#000000##FFFFFF
##3A5FB01.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B3
Deuteranopia (green-blind)
#215DAE
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a5fb0;
/* rgb */ color: rgb(58, 95, 176);
/* oklch */ color: oklch(50.1% 0.136 263.7);
Tailwind
colors: {
  custom: {
    50: '#7d8bc8',
    500: '#3a5fb0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5fb0;
$custom-light: #7d8bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5fb0",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 176
  },
  "hsl": {
    "h": 221.186,
    "s": 50.427,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5009,
    "c": 0.13569,
    "h": 263.7
  },
  "luminance": 0.12219
}

Semantic roles & 50–950 ramp

primary
#3A5FB0
secondary
#C3AF82
accent
#AE4EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3A5FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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