#3A36C8#3A36C8

#3A36C8 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.6% C 0.216 H 274.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3A36C8
RGBrgb(58, 54, 200)
HSLhsl(242, 57%, 50%)
HSVhsv(242, 73%, 78%)
CMYKcmyk(71%, 73%, 0%, 21.6%)
CIE-LABlab(33.36, 48.01, -74.56)
CIE-LCHlch(33.36, 88.68, 302.78°)
OKLaboklab(44.6% 0.0165 -0.2156)
OKLCHoklch(44.6% 0.216 274.4)
XYZxyz(13.4860, 7.7067, 55.4092)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A36C8 #C4C836
analogous
#367BC8 #3A36C8 #8336C8
triadic
#3A36C8 #C83A36 #36C83A
tetradic
#3A36C8 #C8367B #C4C836 #36C883
square
#3A36C8 #C8367B #C4C836 #36C883
split-complementary
#3A36C8 #C88336 #7BC836
monochromatic
#1E1C68 #2C2998 #3A36C8 #6966D6 #9896E3

Accessibility & contrast

On white

8.26
#3A36C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3A36C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A36C8
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A36C8#FFFFFF#000000##FFFFFF
##3A36C81.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#0048C5
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a36c8;
/* rgb */ color: rgb(58, 54, 200);
/* oklch */ color: oklch(44.6% 0.216 274.4);
Tailwind
colors: {
  custom: {
    50: '#856fda',
    500: '#3a36c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a36c8;
$custom-light: #856fda;
$custom-dark: #000000;
JSON
{
  "hex": "#3a36c8",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 241.644,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.21626,
    "h": 274.4
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

primary
#3A36C8
secondary
#CCCE8C
accent
#E147DD
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A36C8

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

Preview Lab → · Contrast checker → · Palette generator →

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