#3A5DCA#3A5DCA

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

Color values

HEX#3A5DCA
RGBrgb(58, 93, 202)
HSLhsl(225, 58%, 51%)
HSVhsv(225, 71%, 79%)
CMYKcmyk(71.3%, 54%, 0%, 20.8%)
CIE-LABlab(42.75, 24.65, -60.38)
CIE-LCHlch(42.75, 65.22, 292.21°)
OKLaboklab(51.55% -0.0099 -0.1738)
OKLCHoklch(51.55% 0.174 266.7)
XYZxyz(16.3162, 12.9908, 57.5133)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5DCA #CAA73A
analogous
#3AA5CA #3A5DCA #5F3ACA
triadic
#3A5DCA #CA3A5D #5DCA3A
tetradic
#3A5DCA #CA3AA5 #CAA73A #3ACA5F
square
#3A5DCA #CA3AA5 #CAA73A #3ACA5F
split-complementary
#3A5DCA #CA5F3A #A5CA3A
monochromatic
#1D306C #2A469D #3A5DCA #6A85D7 #9AACE4

Accessibility & contrast

On white

5.84
#3A5DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3A5DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5DCA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5DCA#FFFFFF#000000##FFFFFF
##3A5DCA1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026CCE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a5dca;
/* rgb */ color: rgb(58, 93, 202);
/* oklch */ color: oklch(51.5% 0.174 266.7);
Tailwind
colors: {
  custom: {
    50: '#828adb',
    500: '#3a5dca',
    950: '#000000',
  },
}
SCSS
$custom: #3a5dca;
$custom-light: #828adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5dca",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 225.417,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5155,
    "c": 0.17409,
    "h": 266.7
  },
  "luminance": 0.12993
}

Semantic roles & 50–950 ramp

primary
#3A5DCA
secondary
#D0C090
accent
#BB47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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