#362C97#362C97

#362C97 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.167 H 279.1°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#362C97
RGBrgb(54, 44, 151)
HSLhsl(246, 55%, 38%)
HSVhsv(246, 71%, 59%)
CMYKcmyk(64.2%, 70.9%, 0%, 40.8%)
CIE-LABlab(26.21, 37.22, -57.04)
CIE-LCHlch(26.21, 68.11, 303.13°)
OKLaboklab(37.98% 0.0263 -0.1645)
OKLCHoklch(37.98% 0.167 279.1)
XYZxyz(8.0061, 4.8194, 29.7805)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362C97 #8D972C
analogous
#2C5897 #362C97 #6B2C97
triadic
#362C97 #97362C #2C9736
tetradic
#362C97 #972C58 #8D972C #2C976B
square
#362C97 #972C58 #8D972C #2C976B
split-complementary
#362C97 #976B2C #58972C
monochromatic
#141038 #251E68 #362C97 #473AC6 #746AD4

Accessibility & contrast

On white

10.69
#362C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#362C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362C97
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362C97#FFFFFF#000000##FFFFFF
##362C971.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #362c97;
/* rgb */ color: rgb(54, 44, 151);
/* oklch */ color: oklch(38.0% 0.167 279.1);
Tailwind
colors: {
  custom: {
    50: '#7966b7',
    500: '#362c97',
    950: '#000000',
  },
}
SCSS
$custom: #362c97;
$custom-light: #7966b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362c97",
  "rgb": {
    "r": 54,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 245.607,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3798,
    "c": 0.16662,
    "h": 279.1
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#362C97
secondary
#B2BA65
accent
#DE4AD0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #362C97

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

Preview Lab → · Contrast checker → · Palette generator →

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