#362A76#362A76

#362A76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.124 H 285.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#362A76
RGBrgb(54, 42, 118)
HSLhsl(249, 48%, 31%)
HSVhsv(249, 64%, 46%)
CMYKcmyk(54.2%, 64.4%, 0%, 53.7%)
CIE-LABlab(22.82, 27.44, -41.94)
CIE-LCHlch(22.82, 50.12, 303.20°)
OKLaboklab(34.62% 0.0324 -0.1202)
OKLCHoklch(34.62% 0.125 285.1)
XYZxyz(5.6183, 3.7479, 17.5634)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A76 #6A762A
analogous
#2A4476 #362A76 #5C2A76
triadic
#362A76 #76362A #2A7636
tetradic
#362A76 #762A44 #6A762A #2A765C
square
#362A76 #762A44 #6A762A #2A765C
split-complementary
#362A76 #765C2A #44762A
monochromatic
#0D0A1C #211A49 #362A76 #4B3AA3 #6857C3

Accessibility & contrast

On white

12.00
#362A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#362A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A76
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A76#FFFFFF#000000##FFFFFF
##362A761.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#1D3C4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #362a76;
/* rgb */ color: rgb(54, 42, 118);
/* oklch */ color: oklch(34.6% 0.124 285.1);
Tailwind
colors: {
  custom: {
    50: '#73649e',
    500: '#362a76',
    950: '#000000',
  },
}
SCSS
$custom: #362a76;
$custom-light: #73649e;
$custom-dark: #000000;
JSON
{
  "hex": "#362a76",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 249.474,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34617,
    "c": 0.1245,
    "h": 285.1
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#362A76
secondary
#9BA854
accent
#D751C2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #362A76

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

Preview Lab → · Contrast checker → · Palette generator →

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