#362598#362598

#362598 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.176 H 280.2°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#362598
RGBrgb(54, 37, 152)
HSLhsl(249, 61%, 37%)
HSVhsv(249, 76%, 60%)
CMYKcmyk(64.5%, 75.7%, 0%, 40.4%)
CIE-LABlab(24.87, 41.57, -59.86)
CIE-LCHlch(24.87, 72.88, 304.77°)
OKLaboklab(37.05% 0.0312 -0.1727)
OKLCHoklch(37.05% 0.176 280.2)
XYZxyz(7.8486, 4.3738, 30.1303)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362598 #879825
analogous
#254D98 #362598 #702598
triadic
#362598 #983625 #259836
tetradic
#362598 #98254D #879825 #259870
square
#362598 #98254D #879825 #259870
split-complementary
#362598 #987025 #4D9825
monochromatic
#130D36 #251967 #362598 #4731C9 #715FD8

Accessibility & contrast

On white

11.20
#362598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#362598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362598
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362598#FFFFFF#000000##FFFFFF
##3625981.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003796
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #362598;
/* rgb */ color: rgb(54, 37, 152);
/* oklch */ color: oklch(37.1% 0.176 280.2);
Tailwind
colors: {
  custom: {
    50: '#7a62b7',
    500: '#362598',
    950: '#000000',
  },
}
SCSS
$custom: #362598;
$custom-light: #7a62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362598",
  "rgb": {
    "r": 54,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 248.87,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37054,
    "c": 0.17554,
    "h": 280.2
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#362598
secondary
#AFBD5C
accent
#E444CC
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362598

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

Preview Lab → · Contrast checker → · Palette generator →

#362598 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva