#3A36AA#3A36AA

#3A36AA is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.179 H 276.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3A36AA
RGBrgb(58, 54, 170)
HSLhsl(242, 52%, 44%)
HSVhsv(242, 68%, 67%)
CMYKcmyk(65.9%, 68.2%, 0%, 33.3%)
CIE-LABlab(30.49, 38.11, -61.53)
CIE-LCHlch(30.49, 72.38, 301.77°)
OKLaboklab(41.68% 0.0212 -0.1776)
OKLCHoklch(41.68% 0.179 276.8)
XYZxyz(10.3174, 6.4393, 38.7216)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A36AA #A6AA36
analogous
#366CAA #3A36AA #7436AA
triadic
#3A36AA #AA3A36 #36AA3A
tetradic
#3A36AA #AA366C #A6AA36 #36AA74
square
#3A36AA #AA366C #A6AA36 #36AA74
split-complementary
#3A36AA #AA7436 #6CAA36
monochromatic
#1A184D #2A277C #3A36AA #5854C9 #8683D8

Accessibility & contrast

On white

9.18
#3A36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3A36AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A36AA
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A36AA#FFFFFF#000000##FFFFFF
##3A36AA1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a36aa;
/* rgb */ color: rgb(58, 54, 170);
/* oklch */ color: oklch(41.7% 0.179 276.8);
Tailwind
colors: {
  custom: {
    50: '#7e6ec4',
    500: '#3a36aa',
    950: '#000000',
  },
}
SCSS
$custom: #3a36aa;
$custom-light: #7e6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a36aa",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 242.069,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41679,
    "c": 0.17883,
    "h": 276.8
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#3A36AA
secondary
#BFC17B
accent
#DB4DD6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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