#362BA4#362BA4

#362BA4 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.184 H 277.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#362BA4
RGBrgb(54, 43, 164)
HSLhsl(245, 58%, 41%)
HSVhsv(245, 74%, 64%)
CMYKcmyk(67.1%, 73.8%, 0%, 35.7%)
CIE-LABlab(27.27, 42.08, -63.22)
CIE-LCHlch(27.27, 75.94, 303.65°)
OKLaboklab(39.12% 0.0246 -0.1826)
OKLCHoklch(39.12% 0.184 277.7)
XYZxyz(9.0839, 5.1916, 35.6381)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362BA4 #99A42B
analogous
#2B5CA4 #362BA4 #732BA4
triadic
#362BA4 #A4362B #2BA436
tetradic
#362BA4 #A42B5C #99A42B #2BA473
square
#362BA4 #A42B5C #99A42B #2BA473
split-complementary
#362BA4 #A4732B #5CA42B
monochromatic
#161243 #261E74 #362BA4 #4C3FCD #7A70D9

Accessibility & contrast

On white

10.30
#362BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#362BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362BA4
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362BA4#FFFFFF#000000##FFFFFF
##362BA41.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #362ba4;
/* rgb */ color: rgb(54, 43, 164);
/* oklch */ color: oklch(39.1% 0.184 277.7);
Tailwind
colors: {
  custom: {
    50: '#7c66c0',
    500: '#362ba4',
    950: '#000000',
  },
}
SCSS
$custom: #362ba4;
$custom-light: #7c66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#362ba4",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 245.455,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39121,
    "c": 0.18424,
    "h": 277.7
  },
  "luminance": 0.05192
}

Semantic roles & 50–950 ramp

primary
#362BA4
secondary
#B9C16A
accent
#E246D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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