#38368E#38368E

#38368E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.142 H 278.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#38368E
RGBrgb(56, 54, 142)
HSLhsl(241, 45%, 38%)
HSVhsv(241, 62%, 56%)
CMYKcmyk(60.6%, 62%, 0%, 44.3%)
CIE-LABlab(27.93, 28.21, -48.69)
CIE-LCHlch(27.93, 56.27, 300.09°)
OKLaboklab(39.02% 0.0211 -0.1399)
OKLCHoklch(39.02% 0.142 278.6)
XYZxyz(7.8310, 5.4315, 26.2217)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38368E #8C8E36
analogous
#36608E #38368E #64368E
triadic
#38368E #8E3836 #368E38
tetradic
#38368E #8E3660 #8C8E36 #368E64
square
#38368E #8E3660 #8C8E36 #368E64
split-complementary
#38368E #8E6436 #608E36
monochromatic
#151435 #272562 #38368E #4A48B9 #7674CA

Accessibility & contrast

On white

10.07
#38368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#38368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38368E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38368E#FFFFFF#000000##FFFFFF
##38368E1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #38368e;
/* rgb */ color: rgb(56, 54, 142);
/* oklch */ color: oklch(39.0% 0.142 278.6);
Tailwind
colors: {
  custom: {
    50: '#786db0',
    500: '#38368e',
    950: '#000000',
  },
}
SCSS
$custom: #38368e;
$custom-light: #786db0;
$custom-dark: #000000;
JSON
{
  "hex": "#38368e",
  "rgb": {
    "r": 56,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 241.364,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39023,
    "c": 0.14153,
    "h": 278.6
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#38368E
secondary
#B1B36D
accent
#D553D2
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #38368E

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

Preview Lab → · Contrast checker → · Palette generator →

#38368E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva