#3A3CCB#3A3CCB

#3A3CCB is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.8% C 0.214 H 273.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#3A3CCB
RGBrgb(58, 60, 203)
HSLhsl(239, 58%, 51%)
HSVhsv(239, 71%, 80%)
CMYKcmyk(71.4%, 70.4%, 0%, 20.4%)
CIE-LABlab(34.89, 45.58, -73.80)
CIE-LCHlch(34.89, 86.74, 301.70°)
OKLaboklab(45.78% 0.0128 -0.2134)
OKLCHoklch(45.78% 0.214 273.4)
XYZxyz(14.1367, 8.4417, 57.3727)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CCB #CBC93A
analogous
#3A84CB #3A3CCB #803ACB
triadic
#3A3CCB #CB3A3C #3CCB3A
tetradic
#3A3CCB #CB3A84 #CBC93A #3ACB80
square
#3A3CCB #CB3A84 #CBC93A #3ACB80
split-complementary
#3A3CCB #CB803A #84CB3A
monochromatic
#1D1E6E #2A2B9E #3A3CCB #6A6CD8 #9B9CE5

Accessibility & contrast

On white

7.81
#3A3CCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3A3CCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CCB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CCB#FFFFFF#000000##FFFFFF
##3A3CCB1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CF
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a3ccb;
/* rgb */ color: rgb(58, 60, 203);
/* oklch */ color: oklch(45.8% 0.214 273.4);
Tailwind
colors: {
  custom: {
    50: '#8573dc',
    500: '#3a3ccb',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ccb;
$custom-light: #8573dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ccb",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 239.172,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.21382,
    "h": 273.4
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#3A3CCB
secondary
#D0D090
accent
#DF46E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A3CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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