#362AB5#362AB5

#362AB5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.206 H 276.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#362AB5
RGBrgb(54, 42, 181)
HSLhsl(245, 62%, 44%)
HSVhsv(245, 77%, 71%)
CMYKcmyk(70.2%, 76.8%, 0%, 29%)
CIE-LABlab(28.84, 48.06, -70.84)
CIE-LCHlch(28.84, 85.61, 304.15°)
OKLaboklab(40.75% 0.0214 -0.2048)
OKLCHoklch(40.75% 0.206 276)
XYZxyz(10.6870, 5.7754, 44.2587)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AB5 #A9B52A
analogous
#2A63B5 #362AB5 #7B2AB5
triadic
#362AB5 #B5362A #2AB536
tetradic
#362AB5 #B52A63 #A9B52A #2AB57B
square
#362AB5 #B52A63 #A9B52A #2AB57B
split-complementary
#362AB5 #B57B2A #63B52A
monochromatic
#181352 #271E83 #362AB5 #5448D4 #8279E0

Accessibility & contrast

On white

9.74
#362AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#362AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AB5
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AB5#FFFFFF#000000##FFFFFF
##362AB51.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362ab5;
/* rgb */ color: rgb(54, 42, 181);
/* oklch */ color: oklch(40.8% 0.206 276.0);
Tailwind
colors: {
  custom: {
    50: '#8066cc',
    500: '#362ab5',
    950: '#000000',
  },
}
SCSS
$custom: #362ab5;
$custom-light: #8066cc;
$custom-dark: #000000;
JSON
{
  "hex": "#362ab5",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 245.18,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40751,
    "c": 0.20592,
    "h": 276
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#362AB5
secondary
#C1C873
accent
#E542D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #362AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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