#363166#363166

#363166 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.090 H 285.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#363166
RGBrgb(54, 49, 102)
HSLhsl(246, 35%, 30%)
HSVhsv(246, 52%, 40%)
CMYKcmyk(47.1%, 52%, 0%, 60%)
CIE-LABlab(23.47, 17.42, -30.59)
CIE-LCHlch(23.47, 35.20, 299.67°)
OKLaboklab(34.72% 0.0232 -0.0868)
OKLCHoklch(34.72% 0.09 285)
XYZxyz(5.0172, 3.9400, 13.0639)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#363166 #616631
analogous
#314766 #363166 #513166
triadic
#363166 #663631 #316636
tetradic
#363166 #663147 #616631 #316651
square
#363166 #663147 #616631 #316651
split-complementary
#363166 #665131 #476631
monochromatic
#0B0A15 #201D3D #363166 #4C458F #675FB2

Accessibility & contrast

On white

11.74
#363166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#363166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #363166
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##363166#FFFFFF#000000##FFFFFF
##3631661.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3968
Deuteranopia (green-blind)
#193665
Tritanopia (blue-blind)
#273C46
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #363166;
/* rgb */ color: rgb(54, 49, 102);
/* oklch */ color: oklch(34.7% 0.090 285.0);
Tailwind
colors: {
  custom: {
    50: '#706992',
    500: '#363166',
    950: '#000000',
  },
}
SCSS
$custom: #363166;
$custom-light: #706992;
$custom-dark: #000000;
JSON
{
  "hex": "#363166",
  "rgb": {
    "r": 54,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 245.66,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34723,
    "c": 0.08987,
    "h": 285
  },
  "luminance": 0.0394
}

Semantic roles & 50–950 ramp

primary
#363166
secondary
#92975C
accent
#CB5DC1
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #363166

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

Preview Lab → · Contrast checker → · Palette generator →

#363166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva