#362A9F#362A9F

#362A9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.179 H 278.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#362A9F
RGBrgb(54, 42, 159)
HSLhsl(246, 58%, 39%)
HSVhsv(246, 74%, 62%)
CMYKcmyk(66%, 73.6%, 0%, 37.6%)
CIE-LABlab(26.57, 41.02, -61.34)
CIE-LCHlch(26.57, 73.79, 303.77°)
OKLaboklab(38.47% 0.0263 -0.1771)
OKLCHoklch(38.47% 0.179 278.4)
XYZxyz(8.6053, 4.9427, 33.2947)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A9F #939F2A
analogous
#2A599F #362A9F #712A9F
triadic
#362A9F #9F362A #2A9F36
tetradic
#362A9F #9F2A59 #939F2A #2A9F71
square
#362A9F #9F2A59 #939F2A #2A9F71
split-complementary
#362A9F #9F712A #599F2A
monochromatic
#15103E #261D6F #362A9F #4A3BCB #776BD8

Accessibility & contrast

On white

10.56
#362A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#362A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A9F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A9F#FFFFFF#000000##FFFFFF
##362A9F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #362a9f;
/* rgb */ color: rgb(54, 42, 159);
/* oklch */ color: oklch(38.5% 0.179 278.4);
Tailwind
colors: {
  custom: {
    50: '#7b65bc',
    500: '#362a9f',
    950: '#000000',
  },
}
SCSS
$custom: #362a9f;
$custom-light: #7b65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#362a9f",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 246.154,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38471,
    "c": 0.17904,
    "h": 278.4
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#362A9F
secondary
#B6BF66
accent
#E146D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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