#362AA3#362AA3

#362AA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.184 H 277.9°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#362AA3
RGBrgb(54, 42, 163)
HSLhsl(246, 59%, 40%)
HSVhsv(246, 74%, 64%)
CMYKcmyk(66.9%, 74.2%, 0%, 36.1%)
CIE-LABlab(26.97, 42.32, -63.11)
CIE-LCHlch(26.97, 75.99, 303.84°)
OKLaboklab(38.88% 0.0254 -0.1823)
OKLCHoklch(38.88% 0.184 277.9)
XYZxyz(8.9580, 5.0838, 35.1524)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362AA3 #97A32A
analogous
#2A5BA3 #362AA3 #722AA3
triadic
#362AA3 #A3362A #2AA336
tetradic
#362AA3 #A32A5B #97A32A #2AA372
square
#362AA3 #A32A5B #97A32A #2AA372
split-complementary
#362AA3 #A3722A #5BA32A
monochromatic
#161142 #261D72 #362AA3 #4B3DCD #786EDA

Accessibility & contrast

On white

10.41
#362AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#362AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362AA3
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362AA3#FFFFFF#000000##FFFFFF
##362AA31.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #362aa3;
/* rgb */ color: rgb(54, 42, 163);
/* oklch */ color: oklch(38.9% 0.184 277.9);
Tailwind
colors: {
  custom: {
    50: '#7c66bf',
    500: '#362aa3',
    950: '#000000',
  },
}
SCSS
$custom: #362aa3;
$custom-light: #7c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#362aa3",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 245.95,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38877,
    "c": 0.18404,
    "h": 277.9
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#362AA3
secondary
#B8C068
accent
#E246D3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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