#362D89#362D89

#362D89 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.147 H 280.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#362D89
RGBrgb(54, 45, 137)
HSLhsl(246, 51%, 36%)
HSVhsv(246, 67%, 54%)
CMYKcmyk(60.6%, 67.2%, 0%, 46.3%)
CIE-LABlab(25.16, 31.91, -50.11)
CIE-LCHlch(25.16, 59.41, 302.49°)
OKLaboklab(36.82% 0.0275 -0.1442)
OKLCHoklch(36.82% 0.147 280.8)
XYZxyz(6.9736, 4.4667, 24.1567)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362D89 #80892D
analogous
#2D5289 #362D89 #642D89
triadic
#362D89 #89362D #2D8936
tetradic
#362D89 #892D52 #80892D #2D8964
square
#362D89 #892D52 #80892D #2D8964
split-complementary
#362D89 #89642D #52892D
monochromatic
#120F2D #241E5B #362D89 #483CB7 #6E64CC

Accessibility & contrast

On white

11.09
#362D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#362D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362D89
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362D89#FFFFFF#000000##FFFFFF
##362D891.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #362d89;
/* rgb */ color: rgb(54, 45, 137);
/* oklch */ color: oklch(36.8% 0.147 280.8);
Tailwind
colors: {
  custom: {
    50: '#7767ac',
    500: '#362d89',
    950: '#000000',
  },
}
SCSS
$custom: #362d89;
$custom-light: #7767ac;
$custom-dark: #000000;
JSON
{
  "hex": "#362d89",
  "rgb": {
    "r": 54,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 245.87,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36824,
    "c": 0.14683,
    "h": 280.8
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#362D89
secondary
#ABB35F
accent
#DA4ECC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #362D89

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

Preview Lab → · Contrast checker → · Palette generator →

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