#362AC6#362AC6

#362AC6 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.6% C 0.226 H 274.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#362AC6
RGBrgb(54, 42, 198)
HSLhsl(245, 65%, 47%)
HSVhsv(245, 79%, 78%)
CMYKcmyk(72.7%, 78.8%, 0%, 22.4%)
CIE-LABlab(30.68, 53.33, -77.84)
CIE-LCHlch(30.68, 94.36, 304.42°)
OKLaboklab(42.58% 0.0174 -0.2251)
OKLCHoklch(42.58% 0.226 274.4)
XYZxyz(12.5390, 6.5162, 54.0121)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AC6 #BAC62A
analogous
#2A6CC6 #362AC6 #842AC6
triadic
#362AC6 #C6362A #2AC636
tetradic
#362AC6 #C62A6C #BAC62A #2AC684
square
#362AC6 #C62A6C #BAC62A #2AC684
split-complementary
#362AC6 #C6842A #6CC62A
monochromatic
#1A1561 #281F94 #362AC6 #5D53DA #8D85E5

Accessibility & contrast

On white

9.12
#362AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#362AC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AC6
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AC6#FFFFFF#000000##FFFFFF
##362AC61.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCA
Deuteranopia (green-blind)
#0041C3
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #362ac6;
/* rgb */ color: rgb(54, 42, 198);
/* oklch */ color: oklch(42.6% 0.226 274.4);
Tailwind
colors: {
  custom: {
    50: '#8467d9',
    500: '#362ac6',
    950: '#000000',
  },
}
SCSS
$custom: #362ac6;
$custom-light: #8467d9;
$custom-dark: #000000;
JSON
{
  "hex": "#362ac6",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 198
  },
  "hsl": {
    "h": 244.615,
    "s": 65,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42581,
    "c": 0.22581,
    "h": 274.4
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#362AC6
secondary
#C8CE7D
accent
#E840DB
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #362AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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