#362C87#362C87

#362C87 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.145 H 281.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#362C87
RGBrgb(54, 44, 135)
HSLhsl(247, 51%, 35%)
HSVhsv(247, 67%, 53%)
CMYKcmyk(60%, 67.4%, 0%, 47.1%)
CIE-LABlab(24.75, 31.87, -49.54)
CIE-LCHlch(24.75, 58.90, 302.76°)
OKLaboklab(36.47% 0.0287 -0.1425)
OKLCHoklch(36.47% 0.145 281.4)
XYZxyz(6.7938, 4.3344, 23.3956)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362C87 #7D872C
analogous
#2C5087 #362C87 #632C87
triadic
#362C87 #87362C #2C8736
tetradic
#362C87 #872C50 #7D872C #2C8763
square
#362C87 #872C50 #7D872C #2C8763
split-complementary
#362C87 #87632C #50872C
monochromatic
#110E2B #241D59 #362C87 #483BB5 #6D62CC

Accessibility & contrast

On white

11.25
#362C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#362C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362C87
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362C87#FFFFFF#000000##FFFFFF
##362C871.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#044355
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #362c87;
/* rgb */ color: rgb(54, 44, 135);
/* oklch */ color: oklch(36.5% 0.145 281.4);
Tailwind
colors: {
  custom: {
    50: '#7666ab',
    500: '#362c87',
    950: '#000000',
  },
}
SCSS
$custom: #362c87;
$custom-light: #7666ab;
$custom-dark: #000000;
JSON
{
  "hex": "#362c87",
  "rgb": {
    "r": 54,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 246.593,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36472,
    "c": 0.14538,
    "h": 281.4
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#362C87
secondary
#A9B25D
accent
#DA4DCB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #362C87

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

Preview Lab → · Contrast checker → · Palette generator →

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