#362DAB#362DAB

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

Color values

HEX#362DAB
RGBrgb(54, 45, 171)
HSLhsl(244, 58%, 42%)
HSVhsv(244, 74%, 67%)
CMYKcmyk(68.4%, 73.7%, 0%, 32.9%)
CIE-LABlab(28.38, 43.22, -65.62)
CIE-LCHlch(28.38, 78.58, 303.37°)
OKLaboklab(40.12% 0.022 -0.1896)
OKLCHoklch(40.12% 0.191 276.6)
XYZxyz(9.8080, 5.6004, 39.0843)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362DAB #A2AB2D
analogous
#2D63AB #362DAB #752DAB
triadic
#362DAB #AB362D #2DAB36
tetradic
#362DAB #AB2D63 #A2AB2D #2DAB75
square
#362DAB #AB2D63 #A2AB2D #2DAB75
split-complementary
#362DAB #AB752D #63AB2D
monochromatic
#17144A #27207B #362DAB #5047CE #7E77DB

Accessibility & contrast

On white

9.90
#362DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#362DAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362DAB
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362DAB#FFFFFF#000000##FFFFFF
##362DAB1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #362dab;
/* rgb */ color: rgb(54, 45, 171);
/* oklch */ color: oklch(40.1% 0.191 276.6);
Tailwind
colors: {
  custom: {
    50: '#7e68c5',
    500: '#362dab',
    950: '#000000',
  },
}
SCSS
$custom: #362dab;
$custom-light: #7e68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#362dab",
  "rgb": {
    "r": 54,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 244.286,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40119,
    "c": 0.19087,
    "h": 276.6
  },
  "luminance": 0.05601
}

Semantic roles & 50–950 ramp

primary
#362DAB
secondary
#BDC371
accent
#E246D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #362DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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