#362A8A#362A8A

#362A8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.152 H 281.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#362A8A
RGBrgb(54, 42, 138)
HSLhsl(248, 53%, 35%)
HSVhsv(248, 70%, 54%)
CMYKcmyk(60.9%, 69.6%, 0%, 45.9%)
CIE-LABlab(24.56, 34.11, -51.72)
CIE-LCHlch(24.56, 61.95, 303.41°)
OKLaboklab(36.42% 0.0301 -0.1489)
OKLCHoklch(36.42% 0.152 281.4)
XYZxyz(6.9353, 4.2747, 24.4995)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A8A #7E8A2A
analogous
#2A4E8A #362A8A #662A8A
triadic
#362A8A #8A362A #2A8A36
tetradic
#362A8A #8A2A4E #7E8A2A #2A8A66
square
#362A8A #8A2A4E #7E8A2A #2A8A66
split-complementary
#362A8A #8A662A #4E8A2A
monochromatic
#110D2C #241C5B #362A8A #4838B9 #6E60CF

Accessibility & contrast

On white

11.32
#362A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#362A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A8A
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A8A#FFFFFF#000000##FFFFFF
##362A8A1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #362a8a;
/* rgb */ color: rgb(54, 42, 138);
/* oklch */ color: oklch(36.4% 0.152 281.4);
Tailwind
colors: {
  custom: {
    50: '#7765ad',
    500: '#362a8a',
    950: '#000000',
  },
}
SCSS
$custom: #362a8a;
$custom-light: #7765ad;
$custom-dark: #000000;
JSON
{
  "hex": "#362a8a",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 247.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3642,
    "c": 0.15194,
    "h": 281.4
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#362A8A
secondary
#A9B45B
accent
#DD4BCB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #362A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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