#362EA2#362EA2

#362EA2 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.179 H 277.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#362EA2
RGBrgb(54, 46, 162)
HSLhsl(244, 56%, 41%)
HSVhsv(244, 72%, 64%)
CMYKcmyk(66.7%, 71.6%, 0%, 36.5%)
CIE-LABlab(27.70, 39.69, -61.31)
CIE-LCHlch(27.70, 73.04, 302.92°)
OKLaboklab(39.36% 0.023 -0.177)
OKLCHoklch(39.36% 0.179 277.4)
XYZxyz(9.0178, 5.3461, 34.7321)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362EA2 #9AA22E
analogous
#2E60A2 #362EA2 #702EA2
triadic
#362EA2 #A2362E #2EA236
tetradic
#362EA2 #A22E60 #9AA22E #2EA270
square
#362EA2 #A22E60 #9AA22E #2EA270
split-complementary
#362EA2 #A2702E #60A22E
monochromatic
#161343 #262072 #362EA2 #4D43CA #7A73D7

Accessibility & contrast

On white

10.15
#362EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#362EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362EA2
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362EA2#FFFFFF#000000##FFFFFF
##362EA21.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362ea2;
/* rgb */ color: rgb(54, 46, 162);
/* oklch */ color: oklch(39.4% 0.179 277.4);
Tailwind
colors: {
  custom: {
    50: '#7c68bf',
    500: '#362ea2',
    950: '#000000',
  },
}
SCSS
$custom: #362ea2;
$custom-light: #7c68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#362ea2",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 244.138,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39364,
    "c": 0.17851,
    "h": 277.4
  },
  "luminance": 0.05347
}

Semantic roles & 50–950 ramp

primary
#362EA2
secondary
#B9BF6D
accent
#DF49D5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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