#362BA1#362BA1

#362BA1 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.180 H 278.0°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#362BA1
RGBrgb(54, 43, 161)
HSLhsl(246, 58%, 40%)
HSVhsv(246, 73%, 63%)
CMYKcmyk(66.5%, 73.3%, 0%, 36.9%)
CIE-LABlab(26.97, 41.10, -61.90)
CIE-LCHlch(26.97, 74.30, 303.59°)
OKLaboklab(38.82% 0.0252 -0.1787)
OKLCHoklch(38.82% 0.18 278)
XYZxyz(8.8161, 5.0845, 34.2281)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362BA1 #96A12B
analogous
#2B5BA1 #362BA1 #712BA1
triadic
#362BA1 #A1362B #2BA136
tetradic
#362BA1 #A12B5B #96A12B #2BA171
square
#362BA1 #A12B5B #96A12B #2BA171
split-complementary
#362BA1 #A1712B #5BA12B
monochromatic
#161140 #261E71 #362BA1 #4B3ECB #786ED8

Accessibility & contrast

On white

10.41
#362BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#362BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362BA1
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362BA1#FFFFFF#000000##FFFFFF
##362BA11.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #362ba1;
/* rgb */ color: rgb(54, 43, 161);
/* oklch */ color: oklch(38.8% 0.180 278.0);
Tailwind
colors: {
  custom: {
    50: '#7c66be',
    500: '#362ba1',
    950: '#000000',
  },
}
SCSS
$custom: #362ba1;
$custom-light: #7c66be;
$custom-dark: #000000;
JSON
{
  "hex": "#362ba1",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 245.593,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.38818,
    "c": 0.18049,
    "h": 278
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#362BA1
secondary
#B7BF69
accent
#E147D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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