#362FA5#362FA5

#362FA5 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.181 H 276.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#362FA5
RGBrgb(54, 47, 165)
HSLhsl(244, 56%, 42%)
HSVhsv(244, 72%, 65%)
CMYKcmyk(67.3%, 71.5%, 0%, 35.3%)
CIE-LABlab(28.20, 40.10, -62.30)
CIE-LCHlch(28.20, 74.09, 302.77°)
OKLaboklab(39.81% 0.0218 -0.1799)
OKLCHoklch(39.81% 0.181 276.9)
XYZxyz(9.3272, 5.5331, 36.1665)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362FA5 #9EA52F
analogous
#2F63A5 #362FA5 #712FA5
triadic
#362FA5 #A5362F #2FA536
tetradic
#362FA5 #A52F63 #9EA52F #2FA571
square
#362FA5 #A52F63 #9EA52F #2FA571
split-complementary
#362FA5 #A5712F #63A52F
monochromatic
#171446 #262175 #362FA5 #4F47CB #7C76D8

Accessibility & contrast

On white

9.97
#362FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362FA5
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362FA5#FFFFFF#000000##FFFFFF
##362FA51.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362fa5;
/* rgb */ color: rgb(54, 47, 165);
/* oklch */ color: oklch(39.8% 0.181 276.9);
Tailwind
colors: {
  custom: {
    50: '#7c69c1',
    500: '#362fa5',
    950: '#000000',
  },
}
SCSS
$custom: #362fa5;
$custom-light: #7c69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#362fa5",
  "rgb": {
    "r": 54,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 243.559,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39813,
    "c": 0.18122,
    "h": 276.9
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#362FA5
secondary
#BBC070
accent
#DF49D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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