#363AA6#363AA6

#363AA6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.170 H 274.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#363AA6
RGBrgb(54, 58, 166)
HSLhsl(238, 51%, 43%)
HSVhsv(238, 67%, 65%)
CMYKcmyk(67.5%, 65.1%, 0%, 34.9%)
CIE-LABlab(30.79, 33.69, -58.66)
CIE-LCHlch(30.79, 67.64, 299.87°)
OKLaboklab(41.71% 0.0137 -0.1692)
OKLCHoklch(41.71% 0.17 274.6)
XYZxyz(9.9150, 6.5627, 36.8132)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#363AA6 #A6A236
analogous
#3672A6 #363AA6 #6A36A6
triadic
#363AA6 #A6363A #3AA636
tetradic
#363AA6 #A63672 #A6A236 #36A66A
square
#363AA6 #A63672 #A6A236 #36A66A
split-complementary
#363AA6 #A66A36 #72A636
monochromatic
#181A4A #272A78 #363AA6 #5257C7 #8184D6

Accessibility & contrast

On white

9.08
#363AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#363AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #363AA6
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##363AA6#FFFFFF#000000##FFFFFF
##363AA61.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0043A4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #363aa6;
/* rgb */ color: rgb(54, 58, 166);
/* oklch */ color: oklch(41.7% 0.170 274.6);
Tailwind
colors: {
  custom: {
    50: '#7b70c1',
    500: '#363aa6',
    950: '#000000',
  },
}
SCSS
$custom: #363aa6;
$custom-light: #7b70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#363aa6",
  "rgb": {
    "r": 54,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 237.857,
    "s": 50.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.16979,
    "h": 274.6
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#363AA6
secondary
#BFBD79
accent
#D54DDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #363AA6

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

Preview Lab → · Contrast checker → · Palette generator →

#363AA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva