#362F87#362F87

#362F87 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.141 H 280.5°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#362F87
RGBrgb(54, 47, 135)
HSLhsl(245, 48%, 36%)
HSVhsv(245, 65%, 53%)
CMYKcmyk(60%, 65.2%, 0%, 47.1%)
CIE-LABlab(25.46, 29.97, -48.37)
CIE-LCHlch(25.46, 56.90, 301.78°)
OKLaboklab(36.99% 0.0258 -0.1391)
OKLCHoklch(36.99% 0.141 280.5)
XYZxyz(6.9096, 4.5661, 23.4342)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362F87 #80872F
analogous
#2F5487 #362F87 #622F87
triadic
#362F87 #87362F #2F8736
tetradic
#362F87 #872F54 #80872F #2F8762
square
#362F87 #872F54 #80872F #2F8762
split-complementary
#362F87 #87622F #54872F
monochromatic
#120F2C #241F5A #362F87 #483FB4 #6E66CA

Accessibility & contrast

On white

10.98
#362F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#362F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362F87
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362F87#FFFFFF#000000##FFFFFF
##362F871.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#034556
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #362f87;
/* rgb */ color: rgb(54, 47, 135);
/* oklch */ color: oklch(37.0% 0.141 280.5);
Tailwind
colors: {
  custom: {
    50: '#7668ab',
    500: '#362f87',
    950: '#000000',
  },
}
SCSS
$custom: #362f87;
$custom-light: #7668ab;
$custom-dark: #000000;
JSON
{
  "hex": "#362f87",
  "rgb": {
    "r": 54,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 244.773,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36991,
    "c": 0.14148,
    "h": 280.5
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#362F87
secondary
#ABB161
accent
#D850CD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #362F87

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

Preview Lab → · Contrast checker → · Palette generator →

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