#362BA5#362BA5

#362BA5 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.185 H 277.6°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#362BA5
RGBrgb(54, 43, 165)
HSLhsl(245, 59%, 41%)
HSVhsv(245, 74%, 65%)
CMYKcmyk(67.3%, 73.9%, 0%, 35.3%)
CIE-LABlab(27.37, 42.40, -63.66)
CIE-LCHlch(27.37, 76.49, 303.67°)
OKLaboklab(39.22% 0.0244 -0.1839)
OKLCHoklch(39.22% 0.185 277.6)
XYZxyz(9.1745, 5.2278, 36.1156)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362BA5 #9AA52B
analogous
#2B5DA5 #362BA5 #732BA5
triadic
#362BA5 #A5362B #2BA536
tetradic
#362BA5 #A52B5D #9AA52B #2BA573
square
#362BA5 #A52B5D #9AA52B #2BA573
split-complementary
#362BA5 #A5732B #5DA52B
monochromatic
#161244 #261E74 #362BA5 #4D40CD #7A71DA

Accessibility & contrast

On white

10.26
#362BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#362BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362BA5
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362BA5#FFFFFF#000000##FFFFFF
##362BA51.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362ba5;
/* rgb */ color: rgb(54, 43, 165);
/* oklch */ color: oklch(39.2% 0.185 277.6);
Tailwind
colors: {
  custom: {
    50: '#7d66c1',
    500: '#362ba5',
    950: '#000000',
  },
}
SCSS
$custom: #362ba5;
$custom-light: #7d66c1;
$custom-dark: #000000;
JSON
{
  "hex": "#362ba5",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 245.41,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39223,
    "c": 0.18549,
    "h": 277.6
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#362BA5
secondary
#B9C16B
accent
#E246D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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