#362EA3#362EA3

#362EA3 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.180 H 277.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#362EA3
RGBrgb(54, 46, 163)
HSLhsl(244, 56%, 41%)
HSVhsv(244, 72%, 64%)
CMYKcmyk(66.9%, 71.8%, 0%, 36.1%)
CIE-LABlab(27.80, 40.02, -61.76)
CIE-LCHlch(27.80, 73.59, 302.94°)
OKLaboklab(39.46% 0.0228 -0.1783)
OKLCHoklch(39.46% 0.18 277.3)
XYZxyz(9.1070, 5.3818, 35.2021)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362EA3 #9BA32E
analogous
#2E60A3 #362EA3 #702EA3
triadic
#362EA3 #A3362E #2EA336
tetradic
#362EA3 #A32E60 #9BA32E #2EA370
square
#362EA3 #A32E60 #9BA32E #2EA370
split-complementary
#362EA3 #A3702E #60A32E
monochromatic
#161344 #262173 #362EA3 #4D44CA #7B74D8

Accessibility & contrast

On white

10.11
#362EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#362EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362EA3
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362EA3#FFFFFF#000000##FFFFFF
##362EA31.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #362ea3;
/* rgb */ color: rgb(54, 46, 163);
/* oklch */ color: oklch(39.5% 0.180 277.3);
Tailwind
colors: {
  custom: {
    50: '#7c68bf',
    500: '#362ea3',
    950: '#000000',
  },
}
SCSS
$custom: #362ea3;
$custom-light: #7c68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#362ea3",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 244.103,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39463,
    "c": 0.17978,
    "h": 277.3
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #362EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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