#3A5CC3#3A5CC3

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

Color values

HEX#3A5CC3
RGBrgb(58, 92, 195)
HSLhsl(225, 54%, 50%)
HSVhsv(225, 70%, 76%)
CMYKcmyk(70.3%, 52.8%, 0%, 23.5%)
CIE-LABlab(41.99, 22.74, -57.56)
CIE-LCHlch(41.99, 61.89, 291.56°)
OKLaboklab(50.82% -0.0097 -0.1655)
OKLCHoklch(50.82% 0.166 266.7)
XYZxyz(15.4190, 12.4924, 53.2179)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CC3 #C3A13A
analogous
#3AA1C3 #3A5CC3 #5C3AC3
triadic
#3A5CC3 #C33A5C #5CC33A
tetradic
#3A5CC3 #C33AA1 #C3A13A #3AC35C
square
#3A5CC3 #C33AA1 #C3A13A #3AC35C
split-complementary
#3A5CC3 #C35C3A #A1C33A
monochromatic
#1E2F65 #2C4694 #3A5CC3 #6882D2 #97A9E0

Accessibility & contrast

On white

6.00
#3A5CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3A5CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CC3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CC3#FFFFFF#000000##FFFFFF
##3A5CC31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156AC7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a5cc3;
/* rgb */ color: rgb(58, 92, 195);
/* oklch */ color: oklch(50.8% 0.166 266.7);
Tailwind
colors: {
  custom: {
    50: '#8189d6',
    500: '#3a5cc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cc3;
$custom-light: #8189d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cc3",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 225.109,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50818,
    "c": 0.16582,
    "h": 266.7
  },
  "luminance": 0.12494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A5CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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