#362697#362697

#362697 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.173 H 280.2°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#362697
RGBrgb(54, 38, 151)
HSLhsl(248, 60%, 37%)
HSVhsv(248, 75%, 59%)
CMYKcmyk(64.2%, 74.8%, 0%, 40.8%)
CIE-LABlab(24.97, 40.69, -59.09)
CIE-LCHlch(24.97, 71.75, 304.55°)
OKLaboklab(37.09% 0.0307 -0.1705)
OKLCHoklch(37.09% 0.173 280.2)
XYZxyz(7.7986, 4.4043, 29.7113)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362697 #879726
analogous
#264E97 #362697 #6F2697
triadic
#362697 #973626 #269736
tetradic
#362697 #97264E #879726 #26976F
square
#362697 #97264E #879726 #26976F
split-complementary
#362697 #976F26 #4E9726
monochromatic
#130D35 #251A66 #362697 #4732C8 #7160D7

Accessibility & contrast

On white

11.16
#362697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#362697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362697
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362697#FFFFFF#000000##FFFFFF
##3626971.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003795
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #362697;
/* rgb */ color: rgb(54, 38, 151);
/* oklch */ color: oklch(37.1% 0.173 280.2);
Tailwind
colors: {
  custom: {
    50: '#7a63b7',
    500: '#362697',
    950: '#000000',
  },
}
SCSS
$custom: #362697;
$custom-light: #7a63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362697",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 248.496,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37091,
    "c": 0.17325,
    "h": 280.2
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#362697
secondary
#AFBC5C
accent
#E345CD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #362697

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

Preview Lab → · Contrast checker → · Palette generator →

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