#362FA7#362FA7

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

Color values

HEX#362FA7
RGBrgb(54, 47, 167)
HSLhsl(244, 56%, 42%)
HSVhsv(244, 72%, 65%)
CMYKcmyk(67.7%, 71.9%, 0%, 34.5%)
CIE-LABlab(28.40, 40.76, -63.19)
CIE-LCHlch(28.40, 75.19, 302.83°)
OKLaboklab(40.01% 0.0214 -0.1825)
OKLCHoklch(40.01% 0.184 276.7)
XYZxyz(9.5106, 5.6065, 37.1327)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362FA7 #A0A72F
analogous
#2F64A7 #362FA7 #722FA7
triadic
#362FA7 #A7362F #2FA736
tetradic
#362FA7 #A72F64 #A0A72F #2FA772
square
#362FA7 #A72F64 #A0A72F #2FA772
split-complementary
#362FA7 #A7722F #64A72F
monochromatic
#171447 #272277 #362FA7 #4F48CB #7D78D9

Accessibility & contrast

On white

9.90
#362FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#362FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362FA7
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362FA7#FFFFFF#000000##FFFFFF
##362FA71.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362fa7;
/* rgb */ color: rgb(54, 47, 167);
/* oklch */ color: oklch(40.0% 0.184 276.7);
Tailwind
colors: {
  custom: {
    50: '#7d69c2',
    500: '#362fa7',
    950: '#000000',
  },
}
SCSS
$custom: #362fa7;
$custom-light: #7d69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#362fa7",
  "rgb": {
    "r": 54,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 243.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40011,
    "c": 0.18376,
    "h": 276.7
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#362FA7
secondary
#BCC171
accent
#DF48D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #362FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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