#362CA3#362CA3

#362CA3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.182 H 277.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#362CA3
RGBrgb(54, 44, 163)
HSLhsl(245, 57%, 41%)
HSVhsv(245, 73%, 64%)
CMYKcmyk(66.9%, 73%, 0%, 36.1%)
CIE-LABlab(27.38, 41.18, -62.44)
CIE-LCHlch(27.38, 74.80, 303.40°)
OKLaboklab(39.17% 0.0241 -0.1803)
OKLCHoklch(39.17% 0.182 277.6)
XYZxyz(9.0307, 5.2292, 35.1767)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362CA3 #99A32C
analogous
#2C5DA3 #362CA3 #712CA3
triadic
#362CA3 #A3362C #2CA336
tetradic
#362CA3 #A32C5D #99A32C #2CA371
square
#362CA3 #A32C5D #99A32C #2CA371
split-complementary
#362CA3 #A3712C #5DA32C
monochromatic
#161243 #261F73 #362CA3 #4C41CC #7A71D9

Accessibility & contrast

On white

10.26
#362CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#362CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362CA3
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362CA3#FFFFFF#000000##FFFFFF
##362CA31.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003CA1
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362ca3;
/* rgb */ color: rgb(54, 44, 163);
/* oklch */ color: oklch(39.2% 0.182 277.6);
Tailwind
colors: {
  custom: {
    50: '#7c67bf',
    500: '#362ca3',
    950: '#000000',
  },
}
SCSS
$custom: #362ca3;
$custom-light: #7c67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#362ca3",
  "rgb": {
    "r": 54,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 245.042,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39165,
    "c": 0.18194,
    "h": 277.6
  },
  "luminance": 0.0523
}

Semantic roles & 50–950 ramp

primary
#362CA3
secondary
#B9C06B
accent
#E147D4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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