#3A5BC1#3A5BC1

#3A5BC1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.5% C 0.164 H 266.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#3A5BC1
RGBrgb(58, 91, 193)
HSLhsl(225, 54%, 49%)
HSVhsv(225, 70%, 76%)
CMYKcmyk(69.9%, 52.8%, 0%, 24.3%)
CIE-LABlab(41.58, 22.66, -57.06)
CIE-LCHlch(41.58, 61.40, 291.66°)
OKLaboklab(50.47% -0.009 -0.1641)
OKLCHoklch(50.47% 0.164 266.9)
XYZxyz(15.1083, 12.2304, 52.0062)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BC1 #C1A03A
analogous
#3A9FC1 #3A5BC1 #5C3AC1
triadic
#3A5BC1 #C13A5B #5BC13A
tetradic
#3A5BC1 #C13A9F #C1A03A #3AC15C
square
#3A5BC1 #C13A9F #C1A03A #3AC15C
split-complementary
#3A5BC1 #C15C3A #9FC13A
monochromatic
#1E2F63 #2C4592 #3A5BC1 #6781D1 #96A8DF

Accessibility & contrast

On white

6.09
#3A5BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3A5BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BC1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BC1#FFFFFF#000000##FFFFFF
##3A5BC11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1569C5
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a5bc1;
/* rgb */ color: rgb(58, 91, 193);
/* oklch */ color: oklch(50.5% 0.164 266.9);
Tailwind
colors: {
  custom: {
    50: '#8188d4',
    500: '#3a5bc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bc1;
$custom-light: #8188d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bc1",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 193
  },
  "hsl": {
    "h": 225.333,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50465,
    "c": 0.16433,
    "h": 266.9
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#3A5BC1
secondary
#CBBB8C
accent
#B94BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A5BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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