#3A5BC4#3A5BC4

#3A5BC4 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.168 H 267.0°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#3A5BC4
RGBrgb(58, 91, 196)
HSLhsl(226, 54%, 50%)
HSVhsv(226, 70%, 77%)
CMYKcmyk(70.4%, 53.6%, 0%, 23.1%)
CIE-LABlab(41.79, 23.75, -58.46)
CIE-LCHlch(41.79, 63.10, 292.11°)
OKLaboklab(50.69% -0.0088 -0.1682)
OKLCHoklch(50.69% 0.168 267)
XYZxyz(15.4464, 12.3657, 53.7866)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5BC4 #C4A33A
analogous
#3AA0C4 #3A5BC4 #5E3AC4
triadic
#3A5BC4 #C43A5B #5BC43A
tetradic
#3A5BC4 #C43AA0 #C4A33A #3AC45E
square
#3A5BC4 #C43AA0 #C4A33A #3AC45E
split-complementary
#3A5BC4 #C45E3A #A0C43A
monochromatic
#1E2F66 #2C4595 #3A5BC4 #6982D3 #98A9E0

Accessibility & contrast

On white

6.05
#3A5BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3A5BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5BC4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5BC4#FFFFFF#000000##FFFFFF
##3A5BC41.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B69C8
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a5bc4;
/* rgb */ color: rgb(58, 91, 196);
/* oklch */ color: oklch(50.7% 0.168 267.0);
Tailwind
colors: {
  custom: {
    50: '#8188d7',
    500: '#3a5bc4',
    950: '#000000',
  },
}
SCSS
$custom: #3a5bc4;
$custom-light: #8188d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5bc4",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 225.652,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.16843,
    "h": 267
  },
  "luminance": 0.12367
}

Semantic roles & 50–950 ramp

primary
#3A5BC4
secondary
#CCBD8E
accent
#BA4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A5BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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