#362EA8#362EA8

#362EA8 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.186 H 276.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#362EA8
RGBrgb(54, 46, 168)
HSLhsl(244, 57%, 42%)
HSVhsv(244, 73%, 66%)
CMYKcmyk(67.9%, 72.6%, 0%, 34.1%)
CIE-LABlab(28.29, 41.67, -63.97)
CIE-LCHlch(28.29, 76.35, 303.08°)
OKLaboklab(39.96% 0.0219 -0.1848)
OKLCHoklch(39.96% 0.186 276.8)
XYZxyz(9.5639, 5.5646, 37.6083)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362EA8 #A0A82E
analogous
#2E63A8 #362EA8 #732EA8
triadic
#362EA8 #A8362E #2EA836
tetradic
#362EA8 #A82E63 #A0A82E #2EA873
square
#362EA8 #A82E63 #A0A82E #2EA873
split-complementary
#362EA8 #A8732E #63A82E
monochromatic
#171448 #272178 #362EA8 #4F47CD #7D77DA

Accessibility & contrast

On white

9.94
#362EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#362EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362EA8
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362EA8#FFFFFF#000000##FFFFFF
##362EA81.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #362ea8;
/* rgb */ color: rgb(54, 46, 168);
/* oklch */ color: oklch(40.0% 0.186 276.8);
Tailwind
colors: {
  custom: {
    50: '#7d68c3',
    500: '#362ea8',
    950: '#000000',
  },
}
SCSS
$custom: #362ea8;
$custom-light: #7d68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#362ea8",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 243.934,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39961,
    "c": 0.18608,
    "h": 276.8
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#362EA8
secondary
#BCC270
accent
#E048D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #362EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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