#362687#362687

#362687 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.153 H 282.9°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#362687
RGBrgb(54, 38, 135)
HSLhsl(250, 56%, 34%)
HSVhsv(250, 72%, 53%)
CMYKcmyk(60%, 71.9%, 0%, 47.1%)
CIE-LABlab(23.40, 35.53, -51.74)
CIE-LCHlch(23.40, 62.76, 304.48°)
OKLaboklab(35.5% 0.0341 -0.149)
OKLCHoklch(35.5% 0.153 282.9)
XYZxyz(6.5863, 3.9193, 23.3264)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362687 #778726
analogous
#264787 #362687 #672687
triadic
#362687 #873626 #268736
tetradic
#362687 #872647 #778726 #268767
square
#362687 #872647 #778726 #268767
split-complementary
#362687 #876726 #478726
monochromatic
#100B27 #231957 #362687 #4933B7 #6B58D0

Accessibility & contrast

On white

11.77
#362687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#362687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362687
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362687#FFFFFF#000000##FFFFFF
##3626871.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#054053
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #362687;
/* rgb */ color: rgb(54, 38, 135);
/* oklch */ color: oklch(35.5% 0.153 282.9);
Tailwind
colors: {
  custom: {
    50: '#7762ab',
    500: '#362687',
    950: '#000000',
  },
}
SCSS
$custom: #362687;
$custom-light: #7762ab;
$custom-dark: #000000;
JSON
{
  "hex": "#362687",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 249.897,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35504,
    "c": 0.15282,
    "h": 282.9
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#362687
secondary
#A5B554
accent
#DF48C6
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #362687

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

Preview Lab → · Contrast checker → · Palette generator →

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