#362BA8#362BA8

#362BA8 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.189 H 277.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#362BA8
RGBrgb(54, 43, 168)
HSLhsl(245, 59%, 41%)
HSVhsv(245, 74%, 66%)
CMYKcmyk(67.9%, 74.4%, 0%, 34.1%)
CIE-LABlab(27.68, 43.37, -64.97)
CIE-LCHlch(27.68, 78.12, 303.73°)
OKLaboklab(39.53% 0.0238 -0.1877)
OKLCHoklch(39.53% 0.189 277.2)
XYZxyz(9.4508, 5.3384, 37.5706)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362BA8 #9DA82B
analogous
#2B5FA8 #362BA8 #752BA8
triadic
#362BA8 #A8362B #2BA836
tetradic
#362BA8 #A82B5F #9DA82B #2BA875
square
#362BA8 #A82B5F #9DA82B #2BA875
split-complementary
#362BA8 #A8752B #5FA82B
monochromatic
#171247 #261F77 #362BA8 #4E42CF #7C72DB

Accessibility & contrast

On white

10.16
#362BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#362BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362BA8
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362BA8#FFFFFF#000000##FFFFFF
##362BA81.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #362ba8;
/* rgb */ color: rgb(54, 43, 168);
/* oklch */ color: oklch(39.5% 0.189 277.2);
Tailwind
colors: {
  custom: {
    50: '#7d66c3',
    500: '#362ba8',
    950: '#000000',
  },
}
SCSS
$custom: #362ba8;
$custom-light: #7d66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#362ba8",
  "rgb": {
    "r": 54,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 245.28,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39529,
    "c": 0.1892,
    "h": 277.2
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#362BA8
secondary
#BBC26C
accent
#E245D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #362BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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