#362A82#362A82

#362A82 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.141 H 282.8°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#362A82
RGBrgb(54, 42, 130)
HSLhsl(248, 51%, 34%)
HSVhsv(248, 68%, 51%)
CMYKcmyk(58.5%, 67.7%, 0%, 49%)
CIE-LABlab(23.84, 31.45, -47.88)
CIE-LCHlch(23.84, 57.28, 303.30°)
OKLaboklab(35.68% 0.0312 -0.1377)
OKLCHoklch(35.68% 0.141 282.8)
XYZxyz(6.3773, 4.0515, 21.5607)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A82 #76822A
analogous
#2A4A82 #362A82 #622A82
triadic
#362A82 #82362A #2A8236
tetradic
#362A82 #822A4A #76822A #2A8262
square
#362A82 #822A4A #76822A #2A8262
split-complementary
#362A82 #82622A #4A822A
monochromatic
#100C25 #231B54 #362A82 #4939B0 #6B5CCA

Accessibility & contrast

On white

11.60
#362A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#362A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A82
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A82#FFFFFF#000000##FFFFFF
##362A821.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#0F4052
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #362a82;
/* rgb */ color: rgb(54, 42, 130);
/* oklch */ color: oklch(35.7% 0.141 282.8);
Tailwind
colors: {
  custom: {
    50: '#7664a7',
    500: '#362a82',
    950: '#000000',
  },
}
SCSS
$custom: #362a82;
$custom-light: #7664a7;
$custom-dark: #000000;
JSON
{
  "hex": "#362a82",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 248.182,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35679,
    "c": 0.14117,
    "h": 282.8
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

primary
#362A82
secondary
#A4B058
accent
#DB4DC7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #362A82

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

Preview Lab → · Contrast checker → · Palette generator →

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