#362BAB#362BAB

#362BAB is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.193 H 276.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#362BAB
RGBrgb(54, 43, 171)
HSLhsl(245, 60%, 42%)
HSVhsv(245, 75%, 67%)
CMYKcmyk(68.4%, 74.9%, 0%, 32.9%)
CIE-LABlab(27.98, 44.34, -66.27)
CIE-LCHlch(27.98, 79.74, 303.78°)
OKLaboklab(39.84% 0.0231 -0.1915)
OKLCHoklch(39.84% 0.193 276.9)
XYZxyz(9.7335, 5.4514, 39.0595)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362BAB #A0AB2B
analogous
#2B60AB #362BAB #762BAB
triadic
#362BAB #AB362B #2BAB36
tetradic
#362BAB #AB2B60 #A0AB2B #2BAB76
square
#362BAB #AB2B60 #A0AB2B #2BAB76
split-complementary
#362BAB #AB762B #60AB2B
monochromatic
#171249 #271F7A #362BAB #4F43D0 #7D74DC

Accessibility & contrast

On white

10.05
#362BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#362BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362BAB
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362BAB#FFFFFF#000000##FFFFFF
##362BAB1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #362bab;
/* rgb */ color: rgb(54, 43, 171);
/* oklch */ color: oklch(39.8% 0.193 276.9);
Tailwind
colors: {
  custom: {
    50: '#7e67c5',
    500: '#362bab',
    950: '#000000',
  },
}
SCSS
$custom: #362bab;
$custom-light: #7e67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#362bab",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 245.156,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39837,
    "c": 0.19289,
    "h": 276.9
  },
  "luminance": 0.05452
}

Semantic roles & 50–950 ramp

primary
#362BAB
secondary
#BCC46E
accent
#E345D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #362BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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