#3A36B0#3A36B0

#3A36B0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.187 H 276.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3A36B0
RGBrgb(58, 54, 176)
HSLhsl(242, 53%, 45%)
HSVhsv(242, 69%, 69%)
CMYKcmyk(67%, 69.3%, 0%, 31%)
CIE-LABlab(31.05, 40.12, -64.22)
CIE-LCHlch(31.05, 75.72, 301.99°)
OKLaboklab(42.25% 0.0204 -0.1854)
OKLCHoklch(42.25% 0.187 276.3)
XYZxyz(10.8980, 6.6715, 41.7793)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A36B0 #ACB036
analogous
#366FB0 #3A36B0 #7736B0
triadic
#3A36B0 #B03A36 #36B03A
tetradic
#3A36B0 #B0366F #ACB036 #36B077
square
#3A36B0 #B0366F #ACB036 #36B077
split-complementary
#3A36B0 #B07736 #6FB036
monochromatic
#1B1952 #2B2881 #3A36B0 #5B58CC #8986DA

Accessibility & contrast

On white

9.00
#3A36B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3A36B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A36B0
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A36B0#FFFFFF#000000##FFFFFF
##3A36B01.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a36b0;
/* rgb */ color: rgb(58, 54, 176);
/* oklch */ color: oklch(42.2% 0.187 276.3);
Tailwind
colors: {
  custom: {
    50: '#806ec9',
    500: '#3a36b0',
    950: '#000000',
  },
}
SCSS
$custom: #3a36b0;
$custom-light: #806ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a36b0",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 176
  },
  "hsl": {
    "h": 241.967,
    "s": 53.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42246,
    "c": 0.18654,
    "h": 276.3
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#3A36B0
secondary
#C2C47E
accent
#DC4BD8
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A36B0

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

Preview Lab → · Contrast checker → · Palette generator →

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