#362E97#362E97

#362E97 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.164 H 278.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#362E97
RGBrgb(54, 46, 151)
HSLhsl(245, 53%, 39%)
HSVhsv(245, 70%, 59%)
CMYKcmyk(64.2%, 69.5%, 0%, 40.8%)
CIE-LABlab(26.65, 36.02, -56.32)
CIE-LCHlch(26.65, 66.85, 302.60°)
OKLaboklab(38.3% 0.0248 -0.1624)
OKLCHoklch(38.3% 0.164 278.7)
XYZxyz(8.0824, 4.9720, 29.8059)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362E97 #8F972E
analogous
#2E5A97 #362E97 #6A2E97
triadic
#362E97 #97362E #2E9736
tetradic
#362E97 #972E5A #8F972E #2E976A
square
#362E97 #972E5A #8F972E #2E976A
split-complementary
#362E97 #976A2E #5A972E
monochromatic
#141139 #252068 #362E97 #483EC4 #756DD2

Accessibility & contrast

On white

10.53
#362E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#362E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362E97
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362E97#FFFFFF#000000##FFFFFF
##362E971.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #362e97;
/* rgb */ color: rgb(54, 46, 151);
/* oklch */ color: oklch(38.3% 0.164 278.7);
Tailwind
colors: {
  custom: {
    50: '#7968b7',
    500: '#362e97',
    950: '#000000',
  },
}
SCSS
$custom: #362e97;
$custom-light: #7968b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362e97",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 244.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38297,
    "c": 0.1643,
    "h": 278.7
  },
  "luminance": 0.04973
}

Semantic roles & 50–950 ramp

primary
#362E97
secondary
#B3BA67
accent
#DD4BD2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #362E97

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

Preview Lab → · Contrast checker → · Palette generator →

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