#3A4CC9#3A4CC9

#3A4CC9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.193 H 270.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3A4CC9
RGBrgb(58, 76, 201)
HSLhsl(232, 57%, 51%)
HSVhsv(232, 71%, 79%)
CMYKcmyk(71.1%, 62.2%, 0%, 21.2%)
CIE-LABlab(38.35, 35.15, -66.96)
CIE-LCHlch(38.35, 75.63, 297.70°)
OKLaboklab(48.24% 0.0029 -0.1934)
OKLCHoklch(48.24% 0.193 270.9)
XYZxyz(14.8684, 10.2840, 56.4484)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CC9 #C9B73A
analogous
#3A93C9 #3A4CC9 #703AC9
triadic
#3A4CC9 #C93A4C #4CC93A
tetradic
#3A4CC9 #C93A93 #C9B73A #3AC970
square
#3A4CC9 #C93A93 #C9B73A #3AC970
split-complementary
#3A4CC9 #C9703A #93C93A
monochromatic
#1D276B #2B399B #3A4CC9 #6A78D6 #9AA3E3

Accessibility & contrast

On white

6.87
#3A4CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3A4CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4CC9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CC9#FFFFFF#000000##FFFFFF
##3A4CC91.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a4cc9;
/* rgb */ color: rgb(58, 76, 201);
/* oklch */ color: oklch(48.2% 0.193 270.9);
Tailwind
colors: {
  custom: {
    50: '#837eda',
    500: '#3a4cc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cc9;
$custom-light: #837eda;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cc9",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 201
  },
  "hsl": {
    "h": 232.448,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48242,
    "c": 0.19339,
    "h": 270.9
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#3A4CC9
secondary
#CFC790
accent
#CD48E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A4CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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