#362A7D#362A7D

#362A7D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.134 H 283.7°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#362A7D
RGBrgb(54, 42, 125)
HSLhsl(249, 50%, 33%)
HSVhsv(249, 66%, 49%)
CMYKcmyk(56.8%, 66.4%, 0%, 51%)
CIE-LABlab(23.41, 29.78, -45.43)
CIE-LCHlch(23.41, 54.32, 303.24°)
OKLaboklab(35.23% 0.0318 -0.1305)
OKLCHoklch(35.23% 0.134 283.7)
XYZxyz(6.0498, 3.9205, 19.8360)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A7D #717D2A
analogous
#2A477D #362A7D #602A7D
triadic
#362A7D #7D362A #2A7D36
tetradic
#362A7D #7D2A47 #717D2A #2A7D60
square
#362A7D #7D2A47 #717D2A #2A7D60
split-complementary
#362A7D #7D602A #477D2A
monochromatic
#0E0B21 #221B4F #362A7D #4A39AB #6A5AC8

Accessibility & contrast

On white

11.77
#362A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#362A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A7D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A7D#FFFFFF#000000##FFFFFF
##362A7D1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#163E4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #362a7d;
/* rgb */ color: rgb(54, 42, 125);
/* oklch */ color: oklch(35.2% 0.134 283.7);
Tailwind
colors: {
  custom: {
    50: '#7564a3',
    500: '#362a7d',
    950: '#000000',
  },
}
SCSS
$custom: #362a7d;
$custom-light: #7564a3;
$custom-dark: #000000;
JSON
{
  "hex": "#362a7d",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 248.675,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35229,
    "c": 0.13431,
    "h": 283.7
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#362A7D
secondary
#A0AD56
accent
#D94FC5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #362A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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