#362E98#362E98

#362E98 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.166 H 278.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#362E98
RGBrgb(54, 46, 152)
HSLhsl(245, 54%, 39%)
HSVhsv(245, 70%, 60%)
CMYKcmyk(64.5%, 69.7%, 0%, 40.4%)
CIE-LABlab(26.75, 36.35, -56.78)
CIE-LCHlch(26.75, 67.42, 302.63°)
OKLaboklab(38.39% 0.0246 -0.1638)
OKLCHoklch(38.39% 0.166 278.5)
XYZxyz(8.1640, 5.0046, 30.2354)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362E98 #90982E
analogous
#2E5B98 #362E98 #6B2E98
triadic
#362E98 #98362E #2E9836
tetradic
#362E98 #982E5B #90982E #2E986B
square
#362E98 #982E5B #90982E #2E986B
split-complementary
#362E98 #986B2E #5B982E
monochromatic
#15123A #252069 #362E98 #493EC5 #756DD3

Accessibility & contrast

On white

10.49
#362E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#362E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362E98
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362E98#FFFFFF#000000##FFFFFF
##362E981.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #362e98;
/* rgb */ color: rgb(54, 46, 152);
/* oklch */ color: oklch(38.4% 0.166 278.5);
Tailwind
colors: {
  custom: {
    50: '#7a68b7',
    500: '#362e98',
    950: '#000000',
  },
}
SCSS
$custom: #362e98;
$custom-light: #7a68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#362e98",
  "rgb": {
    "r": 54,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 244.528,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38392,
    "c": 0.1656,
    "h": 278.5
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#362E98
secondary
#B4BA68
accent
#DD4BD2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #362E98

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

Preview Lab → · Contrast checker → · Palette generator →

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