#3A5BC0#3A5BC0

#3A5BC0 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.163 H 266.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3A5BC0
RGBrgb(58, 91, 192)
HSLhsl(225, 54%, 49%)
HSVhsv(225, 70%, 75%)
CMYKcmyk(69.8%, 52.6%, 0%, 24.7%)
CIE-LABlab(41.51, 22.30, -56.59)
CIE-LCHlch(41.51, 60.83, 291.50°)
OKLaboklab(50.39% -0.0091 -0.1627)
OKLCHoklch(50.39% 0.163 266.8)
XYZxyz(14.9971, 12.1860, 51.4207)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BC0 #C09F3A
analogous
#3A9EC0 #3A5BC0 #5C3AC0
triadic
#3A5BC0 #C03A5B #5BC03A
tetradic
#3A5BC0 #C03A9E #C09F3A #3AC05C
square
#3A5BC0 #C03A9E #C09F3A #3AC05C
split-complementary
#3A5BC0 #C05C3A #9EC03A
monochromatic
#1E2E62 #2C4591 #3A5BC0 #6681D1 #95A7DF

Accessibility & contrast

On white

6.11
#3A5BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A5BC0
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BC0#FFFFFF#000000##FFFFFF
##3A5BC01.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1768C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a5bc0;
/* rgb */ color: rgb(58, 91, 192);
/* oklch */ color: oklch(50.4% 0.163 266.8);
Tailwind
colors: {
  custom: {
    50: '#8088d4',
    500: '#3a5bc0',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bc0;
$custom-light: #8088d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bc0",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 225.224,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.16295,
    "h": 266.8
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A5BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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