#362E9D#362E9D

#362E9D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.172 H 278.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#362E9D
RGBrgb(54, 46, 157)
HSLhsl(244, 55%, 40%)
HSVhsv(244, 71%, 62%)
CMYKcmyk(65.6%, 70.7%, 0%, 38.4%)
CIE-LABlab(27.22, 38.03, -59.06)
CIE-LCHlch(27.22, 70.24, 302.78°)
OKLaboklab(38.88% 0.0238 -0.1704)
OKLCHoklch(38.88% 0.172 278)
XYZxyz(8.5822, 5.1719, 32.4378)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362E9D #959D2E
analogous
#2E5E9D #362E9D #6D2E9D
triadic
#362E9D #9D362E #2E9D36
tetradic
#362E9D #9D2E5E #959D2E #2E9D6D
square
#362E9D #9D2E5E #959D2E #2E9D6D
split-complementary
#362E9D #9D6D2E #5E9D2E
monochromatic
#15123E #26206E #362E9D #4B41C7 #7870D5

Accessibility & contrast

On white

10.32
#362E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362E9D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362E9D#FFFFFF#000000##FFFFFF
##362E9D1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362e9d;
/* rgb */ color: rgb(54, 46, 157);
/* oklch */ color: oklch(38.9% 0.172 278.0);
Tailwind
colors: {
  custom: {
    50: '#7b68bb',
    500: '#362e9d',
    950: '#000000',
  },
}
SCSS
$custom: #362e9d;
$custom-light: #7b68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#362e9d",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 244.324,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38875,
    "c": 0.1721,
    "h": 278
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#362E9D
secondary
#B7BD6A
accent
#DE4AD3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #362E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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