#383166#383166

#383166 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.090 H 286.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#383166
RGBrgb(56, 49, 102)
HSLhsl(248, 35%, 30%)
HSVhsv(248, 52%, 40%)
CMYKcmyk(45.1%, 52%, 0%, 60%)
CIE-LABlab(23.66, 17.97, -30.28)
CIE-LCHlch(23.66, 35.21, 300.69°)
OKLaboklab(34.91% 0.026 -0.0858)
OKLCHoklch(34.91% 0.09 286.8)
XYZxyz(5.1268, 3.9965, 13.0691)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383166 #5F6631
analogous
#314566 #383166 #533166
triadic
#383166 #663831 #316638
tetradic
#383166 #663145 #5F6631 #316653
square
#383166 #663145 #5F6631 #316653
split-complementary
#383166 #665331 #456631
monochromatic
#0B0A15 #211D3D #383166 #4F458F #6A5FB2

Accessibility & contrast

On white

11.67
#383166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#383166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383166
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383166#FFFFFF#000000##FFFFFF
##3831661.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A68
Deuteranopia (green-blind)
#1B3765
Tritanopia (blue-blind)
#2A3C46
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #383166;
/* rgb */ color: rgb(56, 49, 102);
/* oklch */ color: oklch(34.9% 0.090 286.8);
Tailwind
colors: {
  custom: {
    50: '#726992',
    500: '#383166',
    950: '#000000',
  },
}
SCSS
$custom: #383166;
$custom-light: #726992;
$custom-dark: #000000;
JSON
{
  "hex": "#383166",
  "rgb": {
    "r": 56,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 247.925,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34911,
    "c": 0.08969,
    "h": 286.8
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#383166
secondary
#8F975C
accent
#CB5DBD
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #383166

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

Preview Lab → · Contrast checker → · Palette generator →

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