#3A5DC9#3A5DC9

#3A5DC9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.173 H 266.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3A5DC9
RGBrgb(58, 93, 201)
HSLhsl(225, 57%, 51%)
HSVhsv(225, 71%, 79%)
CMYKcmyk(71.1%, 53.7%, 0%, 21.2%)
CIE-LABlab(42.68, 24.29, -59.92)
CIE-LCHlch(42.68, 64.65, 292.07°)
OKLaboklab(51.47% -0.01 -0.1724)
OKLCHoklch(51.47% 0.173 266.7)
XYZxyz(16.1982, 12.9436, 56.8917)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DC9 #C9A63A
analogous
#3AA4C9 #3A5DC9 #5E3AC9
triadic
#3A5DC9 #C93A5D #5DC93A
tetradic
#3A5DC9 #C93AA4 #C9A63A #3AC95E
square
#3A5DC9 #C93AA4 #C9A63A #3AC95E
split-complementary
#3A5DC9 #C95E3A #A4C93A
monochromatic
#1D306B #2B469B #3A5DC9 #6A84D6 #9AACE3

Accessibility & contrast

On white

5.85
#3A5DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3A5DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DC9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DC9#FFFFFF#000000##FFFFFF
##3A5DC91.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076CCD
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a5dc9;
/* rgb */ color: rgb(58, 93, 201);
/* oklch */ color: oklch(51.5% 0.173 266.7);
Tailwind
colors: {
  custom: {
    50: '#828ada',
    500: '#3a5dc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a5dc9;
$custom-light: #828ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5dc9",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 225.315,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51474,
    "c": 0.17274,
    "h": 266.7
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A5DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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