#362BA3#362BA3

#362BA3 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.183 H 277.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#362BA3
RGBrgb(54, 43, 163)
HSLhsl(246, 58%, 40%)
HSVhsv(246, 74%, 64%)
CMYKcmyk(66.9%, 73.6%, 0%, 36.1%)
CIE-LABlab(27.17, 41.75, -62.78)
CIE-LCHlch(27.17, 75.40, 303.63°)
OKLaboklab(39.02% 0.0248 -0.1813)
OKLCHoklch(39.02% 0.183 277.8)
XYZxyz(8.9939, 5.1556, 35.1644)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362BA3 #98A32B
analogous
#2B5CA3 #362BA3 #722BA3
triadic
#362BA3 #A3362B #2BA336
tetradic
#362BA3 #A32B5C #98A32B #2BA372
square
#362BA3 #A32B5C #98A32B #2BA372
split-complementary
#362BA3 #A3722B #5CA32B
monochromatic
#161142 #261E73 #362BA3 #4C3FCC #796FD9

Accessibility & contrast

On white

10.34
#362BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#362BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362BA3
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362BA3#FFFFFF#000000##FFFFFF
##362BA31.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #362ba3;
/* rgb */ color: rgb(54, 43, 163);
/* oklch */ color: oklch(39.0% 0.183 277.8);
Tailwind
colors: {
  custom: {
    50: '#7c66bf',
    500: '#362ba3',
    950: '#000000',
  },
}
SCSS
$custom: #362ba3;
$custom-light: #7c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#362ba3",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 245.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3902,
    "c": 0.183,
    "h": 277.8
  },
  "luminance": 0.05156
}

Semantic roles & 50–950 ramp

primary
#362BA3
secondary
#B8C06A
accent
#E146D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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