#362AA8#362AA8

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

Color values

HEX#362AA8
RGBrgb(54, 42, 168)
HSLhsl(246, 60%, 41%)
HSVhsv(246, 75%, 66%)
CMYKcmyk(67.9%, 75%, 0%, 34.1%)
CIE-LABlab(27.48, 43.93, -65.30)
CIE-LCHlch(27.48, 78.70, 303.93°)
OKLaboklab(39.39% 0.0244 -0.1886)
OKLCHoklch(39.39% 0.19 277.4)
XYZxyz(9.4149, 5.2665, 37.5586)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AA8 #9CA82A
analogous
#2A5DA8 #362AA8 #752AA8
triadic
#362AA8 #A8362A #2AA836
tetradic
#362AA8 #A82A5D #9CA82A #2AA875
square
#362AA8 #A82A5D #9CA82A #2AA875
split-complementary
#362AA8 #A8752A #5DA82A
monochromatic
#171246 #261E77 #362AA8 #4E40CF #7B71DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##362AA8#FFFFFF#000000##FFFFFF
##362AA81.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)
#0046AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362aa8;
/* rgb */ color: rgb(54, 42, 168);
/* oklch */ color: oklch(39.4% 0.190 277.4);
Tailwind
colors: {
  custom: {
    50: '#7d66c3',
    500: '#362aa8',
    950: '#000000',
  },
}
SCSS
$custom: #362aa8;
$custom-light: #7d66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#362aa8",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 245.714,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.3939,
    "c": 0.19021,
    "h": 277.4
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#362AA8
secondary
#BAC36B
accent
#E345D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #362AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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