#362397#362397

#362397 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.176 H 280.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#362397
RGBrgb(54, 35, 151)
HSLhsl(250, 62%, 36%)
HSVhsv(250, 77%, 59%)
CMYKcmyk(64.2%, 76.8%, 0%, 40.8%)
CIE-LABlab(24.39, 42.33, -60.05)
CIE-LCHlch(24.39, 73.47, 305.18°)
OKLaboklab(36.68% 0.0327 -0.1733)
OKLCHoklch(36.68% 0.176 280.7)
XYZxyz(7.7065, 4.2201, 29.6806)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362397 #849723
analogous
#234A97 #362397 #702397
triadic
#362397 #973623 #239736
tetradic
#362397 #97234A #849723 #239770
square
#362397 #97234A #849723 #239770
split-complementary
#362397 #977023 #4A9723
monochromatic
#120C34 #241765 #362397 #482FC9 #705BD9

Accessibility & contrast

On white

11.39
#362397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#362397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362397
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362397#FFFFFF#000000##FFFFFF
##3623971.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #362397;
/* rgb */ color: rgb(54, 35, 151);
/* oklch */ color: oklch(36.7% 0.176 280.7);
Tailwind
colors: {
  custom: {
    50: '#7a61b7',
    500: '#362397',
    950: '#000000',
  },
}
SCSS
$custom: #362397;
$custom-light: #7a61b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362397",
  "rgb": {
    "r": 54,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 249.828,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36682,
    "c": 0.17633,
    "h": 280.7
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#362397
secondary
#ADBE58
accent
#E542CB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362397

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

Preview Lab → · Contrast checker → · Palette generator →

#362397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva