#3A5CC9#3A5CC9

#3A5CC9 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.3% C 0.174 H 267.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3A5CC9
RGBrgb(58, 92, 201)
HSLhsl(226, 57%, 51%)
HSVhsv(226, 71%, 79%)
CMYKcmyk(71.1%, 54.2%, 0%, 21.2%)
CIE-LABlab(42.41, 24.93, -60.35)
CIE-LCHlch(42.41, 65.29, 292.45°)
OKLaboklab(51.27% -0.0092 -0.1737)
OKLCHoklch(51.27% 0.174 267)
XYZxyz(16.1110, 12.7692, 56.8626)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CC9 #C9A73A
analogous
#3AA3C9 #3A5CC9 #5F3AC9
triadic
#3A5CC9 #C93A5C #5CC93A
tetradic
#3A5CC9 #C93AA3 #C9A73A #3AC95F
square
#3A5CC9 #C93AA3 #C9A73A #3AC95F
split-complementary
#3A5CC9 #C95F3A #A3C93A
monochromatic
#1D306B #2B459B #3A5CC9 #6A84D6 #9AABE3

Accessibility & contrast

On white

5.91
#3A5CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3A5CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CC9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CC9#FFFFFF#000000##FFFFFF
##3A5CC91.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a5cc9;
/* rgb */ color: rgb(58, 92, 201);
/* oklch */ color: oklch(51.3% 0.174 267.0);
Tailwind
colors: {
  custom: {
    50: '#8289da',
    500: '#3a5cc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cc9;
$custom-light: #8289da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cc9",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 225.734,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.17397,
    "h": 267
  },
  "luminance": 0.12771
}

Semantic roles & 50–950 ramp

primary
#3A5CC9
secondary
#CFC090
accent
#BC48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A5CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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