#362D9E#362D9E

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

Color values

HEX#362D9E
RGBrgb(54, 45, 158)
HSLhsl(245, 56%, 40%)
HSVhsv(245, 72%, 62%)
CMYKcmyk(65.8%, 71.5%, 0%, 38%)
CIE-LABlab(27.10, 38.95, -59.87)
CIE-LCHlch(27.10, 71.42, 303.05°)
OKLaboklab(38.82% 0.0244 -0.1728)
OKLCHoklch(38.82% 0.175 278)
XYZxyz(8.6293, 5.1290, 32.8764)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362D9E #959E2D
analogous
#2D5C9E #362D9E #6F2D9E
triadic
#362D9E #9E362D #2D9E36
tetradic
#362D9E #9E2D5C #959E2D #2D9E6F
square
#362D9E #9E2D5C #959E2D #2D9E6F
split-complementary
#362D9E #9E6F2D #5C9E2D
monochromatic
#15123F #261F6E #362D9E #4B40C9 #786FD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##362D9E#FFFFFF#000000##FFFFFF
##362D9E1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #362d9e;
/* rgb */ color: rgb(54, 45, 158);
/* oklch */ color: oklch(38.8% 0.175 278.0);
Tailwind
colors: {
  custom: {
    50: '#7b67bc',
    500: '#362d9e',
    950: '#000000',
  },
}
SCSS
$custom: #362d9e;
$custom-light: #7b67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#362d9e",
  "rgb": {
    "r": 54,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 244.779,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38818,
    "c": 0.17451,
    "h": 278
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#362D9E
secondary
#B7BD69
accent
#DF49D3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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