#362795#362795

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

Color values

HEX#362795
RGBrgb(54, 39, 149)
HSLhsl(248, 59%, 37%)
HSVhsv(248, 74%, 58%)
CMYKcmyk(63.8%, 73.8%, 0%, 41.6%)
CIE-LABlab(24.97, 39.49, -57.86)
CIE-LCHlch(24.97, 70.05, 304.31°)
OKLaboklab(37.03% 0.0305 -0.1669)
OKLCHoklch(37.03% 0.17 280.3)
XYZxyz(7.6699, 4.4047, 28.8739)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362795 #869527
analogous
#274F95 #362795 #6D2795
triadic
#362795 #953627 #279536
tetradic
#362795 #95274F #869527 #27956D
square
#362795 #95274F #869527 #27956D
split-complementary
#362795 #956D27 #4F9527
monochromatic
#130E34 #241A64 #362795 #4834C6 #7161D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##362795#FFFFFF#000000##FFFFFF
##3627951.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)
#003F98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #362795;
/* rgb */ color: rgb(54, 39, 149);
/* oklch */ color: oklch(37.0% 0.170 280.3);
Tailwind
colors: {
  custom: {
    50: '#7a63b5',
    500: '#362795',
    950: '#000000',
  },
}
SCSS
$custom: #362795;
$custom-light: #7a63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#362795",
  "rgb": {
    "r": 54,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 248.182,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37031,
    "c": 0.16966,
    "h": 280.3
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#362795
secondary
#AEBB5D
accent
#E246CC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #362795

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

Preview Lab → · Contrast checker → · Palette generator →

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