#3A5CB1#3A5CB1

#3A5CB1 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.141 H 265.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#3A5CB1
RGBrgb(58, 92, 177)
HSLhsl(223, 51%, 46%)
HSVhsv(223, 67%, 69%)
CMYKcmyk(67.2%, 48%, 0%, 30.6%)
CIE-LABlab(40.78, 16.17, -49.00)
CIE-LCHlch(40.78, 51.60, 288.27°)
OKLaboklab(49.51% -0.0117 -0.1403)
OKLCHoklch(49.51% 0.141 265.2)
XYZxyz(13.5051, 11.7269, 43.1382)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CB1 #B18F3A
analogous
#3A97B1 #3A5CB1 #533AB1
triadic
#3A5CB1 #B13A5C #5CB13A
tetradic
#3A5CB1 #B13A97 #B18F3A #3AB153
square
#3A5CB1 #B13A97 #B18F3A #3AB153
split-complementary
#3A5CB1 #B1533A #97B13A
monochromatic
#1C2C55 #2B4483 #3A5CB1 #5E7DCA #8CA2D9

Accessibility & contrast

On white

6.28
#3A5CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3A5CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CB1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CB1#FFFFFF#000000##FFFFFF
##3A5CB11.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3066B4
Deuteranopia (green-blind)
#155BAF
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3a5cb1;
/* rgb */ color: rgb(58, 92, 177);
/* oklch */ color: oklch(49.5% 0.141 265.2);
Tailwind
colors: {
  custom: {
    50: '#7d89c9',
    500: '#3a5cb1',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cb1;
$custom-light: #7d89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cb1",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 222.857,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.14083,
    "h": 265.2
  },
  "luminance": 0.11728
}

Semantic roles & 50–950 ramp

primary
#3A5CB1
secondary
#C4B183
accent
#B24EDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3A5CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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