#362A8E#362A8E

#362A8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.157 H 280.8°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#362A8E
RGBrgb(54, 42, 142)
HSLhsl(247, 54%, 36%)
HSVhsv(247, 70%, 56%)
CMYKcmyk(62%, 70.4%, 0%, 44.3%)
CIE-LABlab(24.93, 35.44, -53.60)
CIE-LCHlch(24.93, 64.25, 303.47°)
OKLaboklab(36.8% 0.0294 -0.1544)
OKLCHoklch(36.8% 0.157 280.8)
XYZxyz(7.2302, 4.3927, 26.0528)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A8E #828E2A
analogous
#2A508E #362A8E #682A8E
triadic
#362A8E #8E362A #2A8E36
tetradic
#362A8E #8E2A50 #828E2A #2A8E68
square
#362A8E #8E2A50 #828E2A #2A8E68
split-complementary
#362A8E #8E682A #508E2A
monochromatic
#120E30 #241C5F #362A8E #4838BD #6F62D1

Accessibility & contrast

On white

11.18
#362A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#362A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A8E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A8E#FFFFFF#000000##FFFFFF
##362A8E1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #362a8e;
/* rgb */ color: rgb(54, 42, 142);
/* oklch */ color: oklch(36.8% 0.157 280.8);
Tailwind
colors: {
  custom: {
    50: '#7865b0',
    500: '#362a8e',
    950: '#000000',
  },
}
SCSS
$custom: #362a8e;
$custom-light: #7865b0;
$custom-dark: #000000;
JSON
{
  "hex": "#362a8e",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 247.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36799,
    "c": 0.15722,
    "h": 280.8
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#362A8E
secondary
#ACB65D
accent
#DE4ACC
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #362A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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