#362AB4#362AB4

#362AB4 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.205 H 276.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#362AB4
RGBrgb(54, 42, 180)
HSLhsl(245, 62%, 44%)
HSVhsv(245, 77%, 71%)
CMYKcmyk(70%, 76.7%, 0%, 29.4%)
CIE-LABlab(28.73, 47.74, -70.42)
CIE-LCHlch(28.73, 85.08, 304.14°)
OKLaboklab(40.64% 0.0217 -0.2036)
OKLCHoklch(40.64% 0.205 276.1)
XYZxyz(10.5848, 5.7345, 43.7202)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AB4 #A8B42A
analogous
#2A63B4 #362AB4 #7B2AB4
triadic
#362AB4 #B4362A #2AB436
tetradic
#362AB4 #B42A63 #A8B42A #2AB47B
square
#362AB4 #B42A63 #A8B42A #2AB47B
split-complementary
#362AB4 #B47B2A #63B42A
monochromatic
#181351 #271E82 #362AB4 #5347D4 #8279E0

Accessibility & contrast

On white

9.78
#362AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#362AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AB4
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AB4#FFFFFF#000000##FFFFFF
##362AB41.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #362ab4;
/* rgb */ color: rgb(54, 42, 180);
/* oklch */ color: oklch(40.6% 0.205 276.1);
Tailwind
colors: {
  custom: {
    50: '#8066cc',
    500: '#362ab4',
    950: '#000000',
  },
}
SCSS
$custom: #362ab4;
$custom-light: #8066cc;
$custom-dark: #000000;
JSON
{
  "hex": "#362ab4",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 245.217,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40645,
    "c": 0.20473,
    "h": 276.1
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#362AB4
secondary
#C0C872
accent
#E543D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #362AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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