#3A36B9#3A36B9

#3A36B9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.1% C 0.198 H 275.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3A36B9
RGBrgb(58, 54, 185)
HSLhsl(242, 55%, 47%)
HSVhsv(242, 71%, 73%)
CMYKcmyk(68.6%, 70.8%, 0%, 27.5%)
CIE-LABlab(31.90, 43.11, -68.17)
CIE-LCHlch(31.90, 80.65, 302.31°)
OKLaboklab(43.11% 0.0191 -0.197)
OKLCHoklch(43.11% 0.198 275.5)
XYZxyz(11.8182, 7.0396, 46.6255)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A36B9 #B5B936
analogous
#3674B9 #3A36B9 #7C36B9
triadic
#3A36B9 #B93A36 #36B93A
tetradic
#3A36B9 #B93674 #B5B936 #36B97C
square
#3A36B9 #B93674 #B5B936 #36B97C
split-complementary
#3A36B9 #B97C36 #74B936
monochromatic
#1C1A5A #2B288A #3A36B9 #605DD0 #8E8CDD

Accessibility & contrast

On white

8.72
#3A36B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3A36B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A36B9
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A36B9#FFFFFF#000000##FFFFFF
##3A36B91.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a36b9;
/* rgb */ color: rgb(58, 54, 185);
/* oklch */ color: oklch(43.1% 0.198 275.5);
Tailwind
colors: {
  custom: {
    50: '#826ecf',
    500: '#3a36b9',
    950: '#000000',
  },
}
SCSS
$custom: #3a36b9;
$custom-light: #826ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a36b9",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 241.832,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.19789,
    "h": 275.5
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#3A36B9
secondary
#C6C883
accent
#DE4ADA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A36B9

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

Preview Lab → · Contrast checker → · Palette generator →

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