#3A4DC5#3A4DC5

#3A4DC5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.187 H 270.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3A4DC5
RGBrgb(58, 77, 197)
HSLhsl(232, 55%, 50%)
HSVhsv(232, 71%, 77%)
CMYKcmyk(70.6%, 60.9%, 0%, 22.7%)
CIE-LABlab(38.26, 33.10, -64.78)
CIE-LCHlch(38.26, 72.74, 297.07°)
OKLaboklab(48.08% 0.0023 -0.1869)
OKLCHoklch(48.08% 0.187 270.7)
XYZxyz(14.4734, 10.2371, 54.0257)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DC5 #C5B23A
analogous
#3A92C5 #3A4DC5 #6D3AC5
triadic
#3A4DC5 #C53A4D #4DC53A
tetradic
#3A4DC5 #C53A92 #C5B23A #3AC56D
square
#3A4DC5 #C53A92 #C5B23A #3AC56D
split-complementary
#3A4DC5 #C56D3A #92C53A
monochromatic
#1E2866 #2C3B96 #3A4DC5 #6978D3 #99A2E1

Accessibility & contrast

On white

6.89
#3A4DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3A4DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4DC5
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DC5#FFFFFF#000000##FFFFFF
##3A4DC51.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a4dc5;
/* rgb */ color: rgb(58, 77, 197);
/* oklch */ color: oklch(48.1% 0.187 270.7);
Tailwind
colors: {
  custom: {
    50: '#827ed8',
    500: '#3a4dc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dc5;
$custom-light: #827ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dc5",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 231.799,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.48079,
    "c": 0.18695,
    "h": 270.7
  },
  "luminance": 0.10239
}

Semantic roles & 50–950 ramp

primary
#3A4DC5
secondary
#CDC48E
accent
#CA4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A4DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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