#362F9B#362F9B

#362F9B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.168 H 278.0°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#362F9B
RGBrgb(54, 47, 155)
HSLhsl(244, 53%, 40%)
HSVhsv(244, 70%, 61%)
CMYKcmyk(65.2%, 69.7%, 0%, 39.2%)
CIE-LABlab(27.25, 36.75, -57.79)
CIE-LCHlch(27.25, 68.49, 302.46°)
OKLaboklab(38.84% 0.0234 -0.1667)
OKLCHoklch(38.84% 0.168 278)
XYZxyz(8.4523, 5.1832, 31.5590)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362F9B #949B2F
analogous
#2F5E9B #362F9B #6C2F9B
triadic
#362F9B #9B362F #2F9B36
tetradic
#362F9B #9B2F5E #949B2F #2F9B6C
square
#362F9B #9B2F5E #949B2F #2F9B6C
split-complementary
#362F9B #9B6C2F #5E9B2F
monochromatic
#15133D #26216C #362F9B #4A42C6 #7771D4

Accessibility & contrast

On white

10.31
#362F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#362F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362F9B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362F9B#FFFFFF#000000##FFFFFF
##362F9B1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #362f9b;
/* rgb */ color: rgb(54, 47, 155);
/* oklch */ color: oklch(38.8% 0.168 278.0);
Tailwind
colors: {
  custom: {
    50: '#7a68b9',
    500: '#362f9b',
    950: '#000000',
  },
}
SCSS
$custom: #362f9b;
$custom-light: #7a68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#362f9b",
  "rgb": {
    "r": 54,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 243.889,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.3884,
    "c": 0.16835,
    "h": 278
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#362F9B
secondary
#B6BB6A
accent
#DD4BD3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #362F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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