#383E7E#383E7E

#383E7E is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.4% C 0.107 H 276.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#383E7E
RGBrgb(56, 62, 126)
HSLhsl(235, 38%, 36%)
HSVhsv(235, 56%, 49%)
CMYKcmyk(55.6%, 50.8%, 0%, 50.6%)
CIE-LABlab(28.88, 17.30, -37.21)
CIE-LCHlch(28.88, 41.03, 294.94°)
OKLaboklab(39.36% 0.0117 -0.1061)
OKLCHoklch(39.36% 0.107 276.3)
XYZxyz(7.1182, 5.7919, 20.4775)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#383E7E #7E7838
analogous
#38617E #383E7E #55387E
triadic
#383E7E #7E383E #3E7E38
tetradic
#383E7E #7E3861 #7E7838 #387E55
square
#383E7E #7E3861 #7E7838 #387E55
split-complementary
#383E7E #7E5538 #617E38
monochromatic
#121429 #252954 #383E7E #4B53A8 #7177C0

Accessibility & contrast

On white

9.73
#383E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#383E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #383E7E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##383E7E#FFFFFF#000000##FFFFFF
##383E7E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4780
Deuteranopia (green-blind)
#17417D
Tritanopia (blue-blind)
#174C58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #383e7e;
/* rgb */ color: rgb(56, 62, 126);
/* oklch */ color: oklch(39.4% 0.107 276.3);
Tailwind
colors: {
  custom: {
    50: '#7473a4',
    500: '#383e7e',
    950: '#000000',
  },
}
SCSS
$custom: #383e7e;
$custom-light: #7473a4;
$custom-dark: #000000;
JSON
{
  "hex": "#383e7e",
  "rgb": {
    "r": 56,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 234.857,
    "s": 38.462,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39358,
    "c": 0.10674,
    "h": 276.3
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#383E7E
secondary
#A9A369
accent
#C459CE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #383E7E

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

Preview Lab → · Contrast checker → · Palette generator →

#383E7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva