#362EA4#362EA4

#362EA4 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.181 H 277.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#362EA4
RGBrgb(54, 46, 164)
HSLhsl(244, 56%, 41%)
HSVhsv(244, 72%, 64%)
CMYKcmyk(67.1%, 72%, 0%, 35.7%)
CIE-LABlab(27.89, 40.35, -62.20)
CIE-LCHlch(27.89, 74.14, 302.97°)
OKLaboklab(39.56% 0.0226 -0.1796)
OKLCHoklch(39.56% 0.181 277.2)
XYZxyz(9.1970, 5.4178, 35.6758)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362EA4 #9CA42E
analogous
#2E61A4 #362EA4 #712EA4
triadic
#362EA4 #A4362E #2EA436
tetradic
#362EA4 #A42E61 #9CA42E #2EA471
square
#362EA4 #A42E61 #9CA42E #2EA471
split-complementary
#362EA4 #A4712E #61A42E
monochromatic
#171344 #262174 #362EA4 #4E45CB #7B74D8

Accessibility & contrast

On white

10.08
#362EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362EA4
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362EA4#FFFFFF#000000##FFFFFF
##362EA41.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362ea4;
/* rgb */ color: rgb(54, 46, 164);
/* oklch */ color: oklch(39.6% 0.181 277.2);
Tailwind
colors: {
  custom: {
    50: '#7c68c0',
    500: '#362ea4',
    950: '#000000',
  },
}
SCSS
$custom: #362ea4;
$custom-light: #7c68c0;
$custom-dark: #000000;
JSON
{
  "hex": "#362ea4",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 244.068,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39562,
    "c": 0.18105,
    "h": 277.2
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#362EA4
secondary
#BAC06E
accent
#DF48D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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