#362FA8#362FA8

#362FA8 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.185 H 276.6°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#362FA8
RGBrgb(54, 47, 168)
HSLhsl(243, 56%, 42%)
HSVhsv(243, 72%, 66%)
CMYKcmyk(67.9%, 72%, 0%, 34.1%)
CIE-LABlab(28.49, 41.09, -63.63)
CIE-LCHlch(28.49, 75.74, 302.86°)
OKLaboklab(40.11% 0.0213 -0.1838)
OKLCHoklch(40.11% 0.185 276.6)
XYZxyz(9.6034, 5.6436, 37.6214)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362FA8 #A1A82F
analogous
#2F65A8 #362FA8 #732FA8
triadic
#362FA8 #A8362F #2FA836
tetradic
#362FA8 #A82F65 #A1A82F #2FA873
square
#362FA8 #A82F65 #A1A82F #2FA873
split-complementary
#362FA8 #A8732F #65A82F
monochromatic
#171448 #272278 #362FA8 #5048CC #7E78D9

Accessibility & contrast

On white

9.86
#362FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#362FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362FA8
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362FA8#FFFFFF#000000##FFFFFF
##362FA81.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #362fa8;
/* rgb */ color: rgb(54, 47, 168);
/* oklch */ color: oklch(40.1% 0.185 276.6);
Tailwind
colors: {
  custom: {
    50: '#7d69c3',
    500: '#362fa8',
    950: '#000000',
  },
}
SCSS
$custom: #362fa8;
$custom-light: #7d69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#362fa8",
  "rgb": {
    "r": 54,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 243.471,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4011,
    "c": 0.18502,
    "h": 276.6
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#362FA8
secondary
#BDC171
accent
#E048D7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #362FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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