#362898#362898

#362898 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.172 H 279.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#362898
RGBrgb(54, 40, 152)
HSLhsl(248, 58%, 38%)
HSVhsv(248, 74%, 60%)
CMYKcmyk(64.5%, 73.7%, 0%, 40.4%)
CIE-LABlab(25.47, 39.89, -58.88)
CIE-LCHlch(25.47, 71.12, 304.11°)
OKLaboklab(37.48% 0.0291 -0.1699)
OKLCHoklch(37.48% 0.172 279.7)
XYZxyz(7.9458, 4.5682, 30.1627)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362898 #8A9828
analogous
#285298 #362898 #6E2898
triadic
#362898 #983628 #289836
tetradic
#362898 #982852 #8A9828 #28986E
square
#362898 #982852 #8A9828 #28986E
split-complementary
#362898 #986E28 #529828
monochromatic
#140F37 #251B68 #362898 #4735C8 #7264D6

Accessibility & contrast

On white

10.97
#362898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#362898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362898
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362898#FFFFFF#000000##FFFFFF
##3628981.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003896
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #362898;
/* rgb */ color: rgb(54, 40, 152);
/* oklch */ color: oklch(37.5% 0.172 279.7);
Tailwind
colors: {
  custom: {
    50: '#7a64b7',
    500: '#362898',
    950: '#000000',
  },
}
SCSS
$custom: #362898;
$custom-light: #7a64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362898",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 247.5,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37477,
    "c": 0.17237,
    "h": 279.7
  },
  "luminance": 0.04569
}

Semantic roles & 50–950 ramp

primary
#362898
secondary
#B1BC60
accent
#E246CE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #362898

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

Preview Lab → · Contrast checker → · Palette generator →

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