#3A5CB5#3A5CB5

#3A5CB5 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.146 H 265.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3A5CB5
RGBrgb(58, 92, 181)
HSLhsl(223, 51%, 47%)
HSVhsv(223, 68%, 71%)
CMYKcmyk(68%, 49.2%, 0%, 29%)
CIE-LABlab(41.04, 17.63, -50.93)
CIE-LCHlch(41.04, 53.89, 289.10°)
OKLaboklab(49.79% -0.0112 -0.146)
OKLCHoklch(49.79% 0.146 265.6)
XYZxyz(13.9097, 11.8887, 45.2688)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CB5 #B5933A
analogous
#3A99B5 #3A5CB5 #563AB5
triadic
#3A5CB5 #B53A5C #5CB53A
tetradic
#3A5CB5 #B53A99 #B5933A #3AB556
square
#3A5CB5 #B53A99 #B5933A #3AB556
split-complementary
#3A5CB5 #B5563A #99B53A
monochromatic
#1C2D58 #2B4487 #3A5CB5 #607ECC #8EA4DB

Accessibility & contrast

On white

6.22
#3A5CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3A5CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CB5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CB5#FFFFFF#000000##FFFFFF
##3A5CB51.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B67B8
Deuteranopia (green-blind)
#085BB3
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a5cb5;
/* rgb */ color: rgb(58, 92, 181);
/* oklch */ color: oklch(49.8% 0.146 265.6);
Tailwind
colors: {
  custom: {
    50: '#7e89cc',
    500: '#3a5cb5',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cb5;
$custom-light: #7e89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cb5",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 223.415,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.14645,
    "h": 265.6
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#3A5CB5
secondary
#C6B485
accent
#B44DDB
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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