#3A5CC4#3A5CC4

#3A5CC4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.167 H 266.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3A5CC4
RGBrgb(58, 92, 196)
HSLhsl(225, 54%, 50%)
HSVhsv(225, 70%, 77%)
CMYKcmyk(70.4%, 53.1%, 0%, 23.1%)
CIE-LABlab(42.06, 23.11, -58.03)
CIE-LCHlch(42.06, 62.46, 291.71°)
OKLaboklab(50.89% -0.0096 -0.1669)
OKLCHoklch(50.89% 0.167 266.7)
XYZxyz(15.5324, 12.5378, 53.8153)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CC4 #C4A23A
analogous
#3AA1C4 #3A5CC4 #5D3AC4
triadic
#3A5CC4 #C43A5C #5CC43A
tetradic
#3A5CC4 #C43AA1 #C4A23A #3AC45D
square
#3A5CC4 #C43AA1 #C4A23A #3AC45D
split-complementary
#3A5CC4 #C45D3A #A1C43A
monochromatic
#1E3066 #2C4695 #3A5CC4 #6983D3 #98AAE0

Accessibility & contrast

On white

5.99
#3A5CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3A5CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CC4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CC4#FFFFFF#000000##FFFFFF
##3A5CC41.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126AC8
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a5cc4;
/* rgb */ color: rgb(58, 92, 196);
/* oklch */ color: oklch(50.9% 0.167 266.7);
Tailwind
colors: {
  custom: {
    50: '#8189d7',
    500: '#3a5cc4',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cc4;
$custom-light: #8189d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cc4",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 225.217,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.16718,
    "h": 266.7
  },
  "luminance": 0.12539
}

Semantic roles & 50–950 ramp

primary
#3A5CC4
secondary
#CCBD8E
accent
#B94ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A5CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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