#3A4CC0#3A4CC0

#3A4CC0 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.182 H 271.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#3A4CC0
RGBrgb(58, 76, 192)
HSLhsl(232, 54%, 49%)
HSVhsv(232, 70%, 75%)
CMYKcmyk(69.8%, 60.4%, 0%, 24.7%)
CIE-LABlab(37.61, 31.96, -62.92)
CIE-LCHlch(37.61, 70.57, 296.93°)
OKLaboklab(47.47% 0.0031 -0.1815)
OKLCHoklch(47.47% 0.182 271)
XYZxyz(13.8406, 9.8728, 51.0352)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CC0 #C0AE3A
analogous
#3A8FC0 #3A4CC0 #6B3AC0
triadic
#3A4CC0 #C03A4C #4CC03A
tetradic
#3A4CC0 #C03A8F #C0AE3A #3AC06B
square
#3A4CC0 #C03A8F #C0AE3A #3AC06B
split-complementary
#3A4CC0 #C06B3A #8FC03A
monochromatic
#1E2762 #2C3991 #3A4CC0 #6675D1 #959FDF

Accessibility & contrast

On white

7.06
#3A4CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3A4CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4CC0
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CC0#FFFFFF#000000##FFFFFF
##3A4CC01.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4cc0;
/* rgb */ color: rgb(58, 76, 192);
/* oklch */ color: oklch(47.5% 0.182 271.0);
Tailwind
colors: {
  custom: {
    50: '#817ed4',
    500: '#3a4cc0',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cc0;
$custom-light: #817ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cc0",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 231.94,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47471,
    "c": 0.18154,
    "h": 271
  },
  "luminance": 0.09874
}

Semantic roles & 50–950 ramp

primary
#3A4CC0
secondary
#CAC28B
accent
#C94BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A4CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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