#362F9D#362F9D

#362F9D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.171 H 277.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#362F9D
RGBrgb(54, 47, 157)
HSLhsl(244, 54%, 40%)
HSVhsv(244, 70%, 62%)
CMYKcmyk(65.6%, 70.1%, 0%, 38.4%)
CIE-LABlab(27.44, 37.43, -58.70)
CIE-LCHlch(27.44, 69.62, 302.52°)
OKLaboklab(39.03% 0.0231 -0.1694)
OKLCHoklch(39.03% 0.171 277.8)
XYZxyz(8.6217, 5.2509, 32.4509)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362F9D #969D2F
analogous
#2F5F9D #362F9D #6D2F9D
triadic
#362F9D #9D362F #2F9D36
tetradic
#362F9D #9D2F5F #969D2F #2F9D6D
square
#362F9D #9D2F5F #969D2F #2F9D6D
split-complementary
#362F9D #9D6D2F #5F9D2F
monochromatic
#16133F #26216E #362F9D #4B43C7 #7872D5

Accessibility & contrast

On white

10.24
#362F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#362F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362F9D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362F9D#FFFFFF#000000##FFFFFF
##362F9D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362f9d;
/* rgb */ color: rgb(54, 47, 157);
/* oklch */ color: oklch(39.0% 0.171 277.8);
Tailwind
colors: {
  custom: {
    50: '#7a69bb',
    500: '#362f9d',
    950: '#000000',
  },
}
SCSS
$custom: #362f9d;
$custom-light: #7a69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#362f9d",
  "rgb": {
    "r": 54,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 243.818,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.39032,
    "c": 0.17096,
    "h": 277.8
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#362F9D
secondary
#B7BC6B
accent
#DD4BD4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #362F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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