#362DA5#362DA5

#362DA5 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.183 H 277.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#362DA5
RGBrgb(54, 45, 165)
HSLhsl(245, 57%, 41%)
HSVhsv(245, 73%, 65%)
CMYKcmyk(67.3%, 72.7%, 0%, 35.3%)
CIE-LABlab(27.78, 41.26, -62.99)
CIE-LCHlch(27.78, 75.30, 303.23°)
OKLaboklab(39.51% 0.0231 -0.1819)
OKLCHoklch(39.51% 0.183 277.2)
XYZxyz(9.2490, 5.3769, 36.1404)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362DA5 #9CA52D
analogous
#2D60A5 #362DA5 #722DA5
triadic
#362DA5 #A5362D #2DA536
tetradic
#362DA5 #A52D60 #9CA52D #2DA572
square
#362DA5 #A52D60 #9CA52D #2DA572
split-complementary
#362DA5 #A5722D #60A52D
monochromatic
#171345 #262075 #362DA5 #4E43CC #7B73D9

Accessibility & contrast

On white

10.12
#362DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#362DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362DA5
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362DA5#FFFFFF#000000##FFFFFF
##362DA51.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#003CA3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #362da5;
/* rgb */ color: rgb(54, 45, 165);
/* oklch */ color: oklch(39.5% 0.183 277.2);
Tailwind
colors: {
  custom: {
    50: '#7c68c1',
    500: '#362da5',
    950: '#000000',
  },
}
SCSS
$custom: #362da5;
$custom-light: #7c68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#362da5",
  "rgb": {
    "r": 54,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 244.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39513,
    "c": 0.18338,
    "h": 277.2
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#362DA5
secondary
#BAC16D
accent
#E047D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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