#362EA5#362EA5

#362EA5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.182 H 277.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#362EA5
RGBrgb(54, 46, 165)
HSLhsl(244, 56%, 41%)
HSVhsv(244, 72%, 65%)
CMYKcmyk(67.3%, 72.1%, 0%, 35.3%)
CIE-LABlab(27.99, 40.68, -62.65)
CIE-LCHlch(27.99, 74.70, 303.00°)
OKLaboklab(39.66% 0.0225 -0.1809)
OKLCHoklch(39.66% 0.182 277.1)
XYZxyz(9.2876, 5.4541, 36.1533)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362EA5 #9DA52E
analogous
#2E62A5 #362EA5 #722EA5
triadic
#362EA5 #A5362E #2EA536
tetradic
#362EA5 #A52E62 #9DA52E #2EA572
square
#362EA5 #A52E62 #9DA52E #2EA572
split-complementary
#362EA5 #A5722E #62A52E
monochromatic
#171345 #262175 #362EA5 #4E45CB #7C75D8

Accessibility & contrast

On white

10.04
#362EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#362EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362EA5
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362EA5#FFFFFF#000000##FFFFFF
##362EA51.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #362ea5;
/* rgb */ color: rgb(54, 46, 165);
/* oklch */ color: oklch(39.7% 0.182 277.1);
Tailwind
colors: {
  custom: {
    50: '#7c68c1',
    500: '#362ea5',
    950: '#000000',
  },
}
SCSS
$custom: #362ea5;
$custom-light: #7c68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#362ea5",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 244.034,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39662,
    "c": 0.18232,
    "h": 277.1
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#362EA5
secondary
#BBC06F
accent
#E048D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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