#362D9D#362D9D

#362D9D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.173 H 278.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#362D9D
RGBrgb(54, 45, 157)
HSLhsl(245, 55%, 40%)
HSVhsv(245, 71%, 62%)
CMYKcmyk(65.6%, 71.3%, 0%, 38.4%)
CIE-LABlab(27.00, 38.62, -59.41)
CIE-LCHlch(27.00, 70.86, 303.02°)
OKLaboklab(38.72% 0.0246 -0.1715)
OKLCHoklch(38.72% 0.173 278.2)
XYZxyz(8.5435, 5.0947, 32.4249)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362D9D #949D2D
analogous
#2D5C9D #362D9D #6E2D9D
triadic
#362D9D #9D362D #2D9D36
tetradic
#362D9D #9D2D5C #949D2D #2D9D6E
square
#362D9D #9D2D5C #949D2D #2D9D6E
split-complementary
#362D9D #9D6E2D #5C9D2D
monochromatic
#15123E #261F6D #362D9D #4A3FC8 #776FD6

Accessibility & contrast

On white

10.40
#362D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362D9D
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362D9D#FFFFFF#000000##FFFFFF
##362D9D1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #362d9d;
/* rgb */ color: rgb(54, 45, 157);
/* oklch */ color: oklch(38.7% 0.173 278.2);
Tailwind
colors: {
  custom: {
    50: '#7b67bb',
    500: '#362d9d',
    950: '#000000',
  },
}
SCSS
$custom: #362d9d;
$custom-light: #7b67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#362d9d",
  "rgb": {
    "r": 54,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 244.821,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.17323,
    "h": 278.2
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#362D9D
secondary
#B6BD69
accent
#DF49D3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #362D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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