#362A88#362A88

#362A88 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.149 H 281.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#362A88
RGBrgb(54, 42, 136)
HSLhsl(248, 53%, 35%)
HSVhsv(248, 69%, 53%)
CMYKcmyk(60.3%, 69.1%, 0%, 46.7%)
CIE-LABlab(24.38, 33.44, -50.77)
CIE-LCHlch(24.38, 60.79, 303.38°)
OKLaboklab(36.23% 0.0304 -0.1461)
OKLCHoklch(36.23% 0.149 281.7)
XYZxyz(6.7918, 4.2173, 23.7439)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362A88 #7C882A
analogous
#2A4D88 #362A88 #652A88
triadic
#362A88 #88362A #2A8836
tetradic
#362A88 #882A4D #7C882A #2A8865
square
#362A88 #882A4D #7C882A #2A8865
split-complementary
#362A88 #88652A #4D882A
monochromatic
#110D2A #231C59 #362A88 #4938B7 #6D5FCE

Accessibility & contrast

On white

11.39
#362A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#362A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362A88
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362A88#FFFFFF#000000##FFFFFF
##362A881.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#024255
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #362a88;
/* rgb */ color: rgb(54, 42, 136);
/* oklch */ color: oklch(36.2% 0.149 281.7);
Tailwind
colors: {
  custom: {
    50: '#7764ac',
    500: '#362a88',
    950: '#000000',
  },
}
SCSS
$custom: #362a88;
$custom-light: #7764ac;
$custom-dark: #000000;
JSON
{
  "hex": "#362a88",
  "rgb": {
    "r": 54,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 247.66,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36232,
    "c": 0.14926,
    "h": 281.7
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#362A88
secondary
#A8B35B
accent
#DC4CCA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #362A88

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

Preview Lab → · Contrast checker → · Palette generator →

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