#362BA2#362BA2

#362BA2 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.182 H 277.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#362BA2
RGBrgb(54, 43, 162)
HSLhsl(246, 58%, 40%)
HSVhsv(246, 73%, 64%)
CMYKcmyk(66.7%, 73.5%, 0%, 36.5%)
CIE-LABlab(27.07, 41.43, -62.34)
CIE-LCHlch(27.07, 74.85, 303.61°)
OKLaboklab(38.92% 0.025 -0.18)
OKLCHoklch(38.92% 0.182 277.9)
XYZxyz(8.9047, 5.1199, 34.6944)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362BA2 #97A22B
analogous
#2B5CA2 #362BA2 #712BA2
triadic
#362BA2 #A2362B #2BA236
tetradic
#362BA2 #A22B5C #97A22B #2BA271
square
#362BA2 #A22B5C #97A22B #2BA271
split-complementary
#362BA2 #A2712B #5CA22B
monochromatic
#161141 #261E72 #362BA2 #4B3ECC #786FD9

Accessibility & contrast

On white

10.37
#362BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362BA2
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362BA2#FFFFFF#000000##FFFFFF
##362BA21.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #362ba2;
/* rgb */ color: rgb(54, 43, 162);
/* oklch */ color: oklch(38.9% 0.182 277.9);
Tailwind
colors: {
  custom: {
    50: '#7c66bf',
    500: '#362ba2',
    950: '#000000',
  },
}
SCSS
$custom: #362ba2;
$custom-light: #7c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#362ba2",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 245.546,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38919,
    "c": 0.18175,
    "h": 277.9
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #362BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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