#3A36CD#3A36CD

#3A36CD is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.1% C 0.222 H 274.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3A36CD
RGBrgb(58, 54, 205)
HSLhsl(242, 60%, 51%)
HSVhsv(242, 74%, 80%)
CMYKcmyk(71.7%, 73.7%, 0%, 19.6%)
CIE-LABlab(33.87, 49.62, -76.65)
CIE-LCHlch(33.87, 91.31, 302.92°)
OKLaboklab(45.11% 0.0156 -0.2217)
OKLCHoklch(45.11% 0.222 274)
XYZxyz(14.0799, 7.9443, 58.5371)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A36CD #C9CD36
analogous
#367ECD #3A36CD #8536CD
triadic
#3A36CD #CD3A36 #36CD3A
tetradic
#3A36CD #CD367E #C9CD36 #36CD85
square
#3A36CD #CD367E #C9CD36 #36CD85
split-complementary
#3A36CD #CD8536 #7ECD36
monochromatic
#1D1B6D #2B279E #3A36CD #6A67D9 #9A98E5

Accessibility & contrast

On white

8.11
#3A36CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3A36CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A36CD
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A36CD#FFFFFF#000000##FFFFFF
##3A36CD1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D1
Deuteranopia (green-blind)
#0048CA
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a36cd;
/* rgb */ color: rgb(58, 54, 205);
/* oklch */ color: oklch(45.1% 0.222 274.0);
Tailwind
colors: {
  custom: {
    50: '#866fde',
    500: '#3a36cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a36cd;
$custom-light: #866fde;
$custom-dark: #000000;
JSON
{
  "hex": "#3a36cd",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 241.589,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45109,
    "c": 0.22225,
    "h": 274
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#3A36CD
secondary
#CFD18E
accent
#E344DF
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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