#362897#362897

#362897 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.171 H 279.9°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#362897
RGBrgb(54, 40, 151)
HSLhsl(248, 58%, 37%)
HSVhsv(248, 74%, 59%)
CMYKcmyk(64.2%, 73.5%, 0%, 40.8%)
CIE-LABlab(25.37, 39.56, -58.43)
CIE-LCHlch(25.37, 70.56, 304.10°)
OKLaboklab(37.38% 0.0293 -0.1686)
OKLCHoklch(37.38% 0.171 279.9)
XYZxyz(7.8642, 4.5356, 29.7332)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362897 #899728
analogous
#285197 #362897 #6E2897
triadic
#362897 #973628 #289736
tetradic
#362897 #972851 #899728 #28976E
square
#362897 #972851 #899728 #28976E
split-complementary
#362897 #976E28 #519728
monochromatic
#130E36 #251B67 #362897 #4735C7 #7264D6

Accessibility & contrast

On white

11.01
#362897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#362897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362897
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362897#FFFFFF#000000##FFFFFF
##3628971.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #362897;
/* rgb */ color: rgb(54, 40, 151);
/* oklch */ color: oklch(37.4% 0.171 279.9);
Tailwind
colors: {
  custom: {
    50: '#7a64b7',
    500: '#362897',
    950: '#000000',
  },
}
SCSS
$custom: #362897;
$custom-light: #7a64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362897",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 247.568,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37377,
    "c": 0.17111,
    "h": 279.9
  },
  "luminance": 0.04536
}

Semantic roles & 50–950 ramp

primary
#362897
secondary
#B0BC5F
accent
#E146CE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #362897

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

Preview Lab → · Contrast checker → · Palette generator →

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