#38388E#38388E

#38388E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.139 H 277.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#38388E
RGBrgb(56, 56, 142)
HSLhsl(240, 43%, 39%)
HSVhsv(240, 61%, 56%)
CMYKcmyk(60.6%, 60.6%, 0%, 44.3%)
CIE-LABlab(28.44, 26.91, -47.87)
CIE-LCHlch(28.44, 54.91, 299.34°)
OKLaboklab(39.4% 0.0191 -0.1375)
OKLCHoklch(39.4% 0.139 277.9)
XYZxyz(7.9260, 5.6215, 26.2533)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38388E #8E8E38
analogous
#38638E #38388E #63388E
triadic
#38388E #8E3838 #388E38
tetradic
#38388E #8E3863 #8E8E38 #388E63
square
#38388E #8E3863 #8E8E38 #388E63
split-complementary
#38388E #8E6338 #638E38
monochromatic
#151536 #272762 #38388E #4B4BB8 #7777C9

Accessibility & contrast

On white

9.89
#38388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#38388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38388E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38388E#FFFFFF#000000##FFFFFF
##38388E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #38388e;
/* rgb */ color: rgb(56, 56, 142);
/* oklch */ color: oklch(39.4% 0.139 277.9);
Tailwind
colors: {
  custom: {
    50: '#786eb0',
    500: '#38388e',
    950: '#000000',
  },
}
SCSS
$custom: #38388e;
$custom-light: #786eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#38388e",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39397,
    "c": 0.13884,
    "h": 277.9
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#38388E
secondary
#B2B26F
accent
#D355D3
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #38388E

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

Preview Lab → · Contrast checker → · Palette generator →

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