#362FA3#362FA3

#362FA3 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.179 H 277.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#362FA3
RGBrgb(54, 47, 163)
HSLhsl(244, 55%, 41%)
HSVhsv(244, 71%, 64%)
CMYKcmyk(66.9%, 71.2%, 0%, 36.1%)
CIE-LABlab(28.01, 39.43, -61.41)
CIE-LCHlch(28.01, 72.98, 302.71°)
OKLaboklab(39.62% 0.0221 -0.1773)
OKLCHoklch(39.62% 0.179 277.1)
XYZxyz(9.1465, 5.4609, 35.2153)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362FA3 #9CA32F
analogous
#2F62A3 #362FA3 #702FA3
triadic
#362FA3 #A3362F #2FA336
tetradic
#362FA3 #A32F62 #9CA32F #2FA370
square
#362FA3 #A32F62 #9CA32F #2FA370
split-complementary
#362FA3 #A3702F #62A32F
monochromatic
#171444 #262173 #362FA3 #4E46CA #7B75D7

Accessibility & contrast

On white

10.04
#362FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#362FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362FA3
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362FA3#FFFFFF#000000##FFFFFF
##362FA31.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #362fa3;
/* rgb */ color: rgb(54, 47, 163);
/* oklch */ color: oklch(39.6% 0.179 277.1);
Tailwind
colors: {
  custom: {
    50: '#7c69bf',
    500: '#362fa3',
    950: '#000000',
  },
}
SCSS
$custom: #362fa3;
$custom-light: #7c69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#362fa3",
  "rgb": {
    "r": 54,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 243.621,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39616,
    "c": 0.17868,
    "h": 277.1
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#362FA3
secondary
#BABF6F
accent
#DF49D6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #362FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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