#3A3CC8#3A3CC8

#3A3CC8 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.5% C 0.210 H 273.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3A3CC8
RGBrgb(58, 60, 200)
HSLhsl(239, 56%, 51%)
HSVhsv(239, 71%, 78%)
CMYKcmyk(71%, 70%, 0%, 21.6%)
CIE-LABlab(34.60, 44.58, -72.53)
CIE-LCHlch(34.60, 85.13, 301.58°)
OKLaboklab(45.49% 0.0132 -0.2097)
OKLCHoklch(45.49% 0.21 273.6)
XYZxyz(13.7826, 8.3000, 55.5081)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CC8 #C8C63A
analogous
#3A83C8 #3A3CC8 #7F3AC8
triadic
#3A3CC8 #C83A3C #3CC83A
tetradic
#3A3CC8 #C83A83 #C8C63A #3AC87F
square
#3A3CC8 #C83A83 #C8C63A #3AC87F
split-complementary
#3A3CC8 #C87F3A #83C83A
monochromatic
#1E1F6A #2B2D9A #3A3CC8 #6A6BD5 #9A9BE3

Accessibility & contrast

On white

7.89
#3A3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3A3CC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CC8
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CC8#FFFFFF#000000##FFFFFF
##3A3CC81.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3cc8;
/* rgb */ color: rgb(58, 60, 200);
/* oklch */ color: oklch(45.5% 0.210 273.6);
Tailwind
colors: {
  custom: {
    50: '#8473da',
    500: '#3a3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cc8;
$custom-light: #8473da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cc8",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 239.155,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.21014,
    "h": 273.6
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#3A3CC8
secondary
#CECE8F
accent
#DE48E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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