#362CAB#362CAB

#362CAB is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.192 H 276.7°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#362CAB
RGBrgb(54, 44, 171)
HSLhsl(245, 59%, 42%)
HSVhsv(245, 74%, 67%)
CMYKcmyk(68.4%, 74.3%, 0%, 32.9%)
CIE-LABlab(28.18, 43.79, -65.95)
CIE-LCHlch(28.18, 79.16, 303.58°)
OKLaboklab(39.98% 0.0225 -0.1906)
OKLCHoklch(39.98% 0.192 276.7)
XYZxyz(9.7703, 5.5250, 39.0717)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362CAB #A1AB2C
analogous
#2C62AB #362CAB #752CAB
triadic
#362CAB #AB362C #2CAB36
tetradic
#362CAB #AB2C62 #A1AB2C #2CAB75
square
#362CAB #AB2C62 #A1AB2C #2CAB75
split-complementary
#362CAB #AB752C #62AB2C
monochromatic
#17134A #271F7A #362CAB #5045CF #7E76DC

Accessibility & contrast

On white

9.98
#362CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#362CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362CAB
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362CAB#FFFFFF#000000##FFFFFF
##362CAB1.009.982.119.98
#FFFFFF9.981.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362cab;
/* rgb */ color: rgb(54, 44, 171);
/* oklch */ color: oklch(40.0% 0.192 276.7);
Tailwind
colors: {
  custom: {
    50: '#7e67c5',
    500: '#362cab',
    950: '#000000',
  },
}
SCSS
$custom: #362cab;
$custom-light: #7e67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#362cab",
  "rgb": {
    "r": 54,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 244.724,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39977,
    "c": 0.19189,
    "h": 276.7
  },
  "luminance": 0.05526
}

Semantic roles & 50–950 ramp

primary
#362CAB
secondary
#BDC36F
accent
#E246D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #362CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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