#3A4DC1#3A4DC1

#3A4DC1 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.182 H 270.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3A4DC1
RGBrgb(58, 77, 193)
HSLhsl(232, 54%, 49%)
HSVhsv(232, 70%, 76%)
CMYKcmyk(69.9%, 60.1%, 0%, 24.3%)
CIE-LABlab(37.94, 31.68, -62.97)
CIE-LCHlch(37.94, 70.49, 296.71°)
OKLaboklab(47.74% 0.0023 -0.1816)
OKLCHoklch(47.74% 0.182 270.7)
XYZxyz(14.0212, 10.0562, 51.6438)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DC1 #C1AE3A
analogous
#3A90C1 #3A4DC1 #6B3AC1
triadic
#3A4DC1 #C13A4D #4DC13A
tetradic
#3A4DC1 #C13A90 #C1AE3A #3AC16B
square
#3A4DC1 #C13A90 #C1AE3A #3AC16B
split-complementary
#3A4DC1 #C16B3A #90C13A
monochromatic
#1E2763 #2C3A92 #3A4DC1 #6776D1 #96A0DF

Accessibility & contrast

On white

6.97
#3A4DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3A4DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4DC1
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DC1#FFFFFF#000000##FFFFFF
##3A4DC11.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4dc1;
/* rgb */ color: rgb(58, 77, 193);
/* oklch */ color: oklch(47.7% 0.182 270.7);
Tailwind
colors: {
  custom: {
    50: '#817ed5',
    500: '#3a4dc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dc1;
$custom-light: #817ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dc1",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 231.556,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4774,
    "c": 0.18164,
    "h": 270.7
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#3A4DC1
secondary
#CBC28C
accent
#C94BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A4DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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