#362A7A#362A7A

#362A7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.130 H 284.3°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#362A7A
RGBrgb(54, 42, 122)
HSLhsl(249, 49%, 32%)
HSVhsv(249, 66%, 48%)
CMYKcmyk(55.7%, 65.6%, 0%, 52.2%)
CIE-LABlab(23.15, 28.78, -43.95)
CIE-LCHlch(23.15, 52.53, 303.22°)
OKLaboklab(34.96% 0.0321 -0.1261)
OKLCHoklch(34.96% 0.13 284.3)
XYZxyz(5.8611, 3.8450, 18.8419)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A7A #6E7A2A
analogous
#2A467A #362A7A #5E2A7A
triadic
#362A7A #7A362A #2A7A36
tetradic
#362A7A #7A2A46 #6E7A2A #2A7A5E
square
#362A7A #7A2A46 #6E7A2A #2A7A5E
split-complementary
#362A7A #7A5E2A #467A2A
monochromatic
#0E0B1F #221A4C #362A7A #4A3AA8 #6959C6

Accessibility & contrast

On white

11.87
#362A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#362A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A7A
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A7A#FFFFFF#000000##FFFFFF
##362A7A1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#193D4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #362a7a;
/* rgb */ color: rgb(54, 42, 122);
/* oklch */ color: oklch(35.0% 0.130 284.3);
Tailwind
colors: {
  custom: {
    50: '#7464a1',
    500: '#362a7a',
    950: '#000000',
  },
}
SCSS
$custom: #362a7a;
$custom-light: #7464a1;
$custom-dark: #000000;
JSON
{
  "hex": "#362a7a",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 249,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34964,
    "c": 0.13013,
    "h": 284.3
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#362A7A
secondary
#9EAB55
accent
#D84FC4
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #362A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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