#362BA6#362BA6

#362BA6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.187 H 277.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#362BA6
RGBrgb(54, 43, 166)
HSLhsl(245, 59%, 41%)
HSVhsv(245, 74%, 65%)
CMYKcmyk(67.5%, 74.1%, 0%, 34.9%)
CIE-LABlab(27.48, 42.73, -64.10)
CIE-LCHlch(27.48, 77.03, 303.69°)
OKLaboklab(39.32% 0.0242 -0.1851)
OKLCHoklch(39.32% 0.187 277.4)
XYZxyz(9.2659, 5.2644, 36.5968)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362BA6 #9BA62B
analogous
#2B5DA6 #362BA6 #732BA6
triadic
#362BA6 #A6362B #2BA636
tetradic
#362BA6 #A62B5D #9BA62B #2BA673
square
#362BA6 #A62B5D #9BA62B #2BA673
split-complementary
#362BA6 #A6732B #5DA62B
monochromatic
#161245 #261E75 #362BA6 #4D41CE #7B71DA

Accessibility & contrast

On white

10.23
#362BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362BA6
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362BA6#FFFFFF#000000##FFFFFF
##362BA61.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362ba6;
/* rgb */ color: rgb(54, 43, 166);
/* oklch */ color: oklch(39.3% 0.187 277.4);
Tailwind
colors: {
  custom: {
    50: '#7d66c2',
    500: '#362ba6',
    950: '#000000',
  },
}
SCSS
$custom: #362ba6;
$custom-light: #7d66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#362ba6",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 245.366,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39324,
    "c": 0.18672,
    "h": 277.4
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #362BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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