#362FBA#362FBA

#362FBA is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.9% C 0.207 H 274.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#362FBA
RGBrgb(54, 47, 186)
HSLhsl(243, 60%, 46%)
HSVhsv(243, 75%, 73%)
CMYKcmyk(71%, 74.7%, 0%, 27.1%)
CIE-LABlab(30.31, 46.97, -71.39)
CIE-LCHlch(30.31, 85.45, 303.34°)
OKLaboklab(41.94% 0.0178 -0.2064)
OKLCHoklch(41.94% 0.207 274.9)
XYZxyz(11.3978, 6.3614, 47.0721)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362FBA #B3BA2F
analogous
#2F6DBA #362FBA #7C2FBA
triadic
#362FBA #BA362F #2FBA36
tetradic
#362FBA #BA2F6D #B3BA2F #2FBA7C
square
#362FBA #BA2F6D #B3BA2F #2FBA7C
split-complementary
#362FBA #BA7C2F #6DBA2F
monochromatic
#1A1658 #282389 #362FBA #5953D3 #8884E0

Accessibility & contrast

On white

9.24
#362FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#362FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362FBA
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362FBA#FFFFFF#000000##FFFFFF
##362FBA1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0041B8
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #362fba;
/* rgb */ color: rgb(54, 47, 186);
/* oklch */ color: oklch(41.9% 0.207 274.9);
Tailwind
colors: {
  custom: {
    50: '#816ad0',
    500: '#362fba',
    950: '#000000',
  },
}
SCSS
$custom: #362fba;
$custom-light: #816ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#362fba",
  "rgb": {
    "r": 54,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 243.022,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.2072,
    "h": 274.9
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#362FBA
secondary
#C5C97C
accent
#E345DB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #362FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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