#362AB2#362AB2

#362AB2 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.4% C 0.202 H 276.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#362AB2
RGBrgb(54, 42, 178)
HSLhsl(245, 62%, 43%)
HSVhsv(245, 76%, 70%)
CMYKcmyk(69.7%, 76.4%, 0%, 30.2%)
CIE-LABlab(28.52, 47.11, -69.58)
CIE-LCHlch(28.52, 84.03, 304.10°)
OKLaboklab(40.43% 0.0221 -0.2011)
OKLCHoklch(40.43% 0.202 276.3)
XYZxyz(10.3825, 5.6536, 42.6549)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AB2 #A6B22A
analogous
#2A62B2 #362AB2 #7A2AB2
triadic
#362AB2 #B2362A #2AB236
tetradic
#362AB2 #B22A62 #A6B22A #2AB27A
square
#362AB2 #B22A62 #A6B22A #2AB27A
split-complementary
#362AB2 #B27A2A #62B22A
monochromatic
#18134F #271E80 #362AB2 #5246D3 #8177DF

Accessibility & contrast

On white

9.85
#362AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#362AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AB2
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AB2#FFFFFF#000000##FFFFFF
##362AB21.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #362ab2;
/* rgb */ color: rgb(54, 42, 178);
/* oklch */ color: oklch(40.4% 0.202 276.3);
Tailwind
colors: {
  custom: {
    50: '#7f66ca',
    500: '#362ab2',
    950: '#000000',
  },
}
SCSS
$custom: #362ab2;
$custom-light: #7f66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#362ab2",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 245.294,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40433,
    "c": 0.20233,
    "h": 276.3
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

primary
#362AB2
secondary
#BFC771
accent
#E543D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #362AB2

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

Preview Lab → · Contrast checker → · Palette generator →

#362AB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva