#38388F#38388F

#38388F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.140 H 277.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#38388F
RGBrgb(56, 56, 143)
HSLhsl(240, 44%, 39%)
HSVhsv(240, 61%, 56%)
CMYKcmyk(60.8%, 60.8%, 0%, 43.9%)
CIE-LABlab(28.52, 27.26, -48.35)
CIE-LCHlch(28.52, 55.51, 299.41°)
OKLaboklab(39.48% 0.0191 -0.1389)
OKLCHoklch(39.48% 0.14 277.8)
XYZxyz(8.0014, 5.6517, 26.6505)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38388F #8F8F38
analogous
#38648F #38388F #64388F
triadic
#38388F #8F3838 #388F38
tetradic
#38388F #8F3864 #8F8F38 #388F64
square
#38388F #8F3864 #8F8F38 #388F64
split-complementary
#38388F #8F6438 #648F38
monochromatic
#161637 #272763 #38388F #4B4BB9 #7777CA

Accessibility & contrast

On white

9.86
#38388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#38388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38388F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38388F#FFFFFF#000000##FFFFFF
##38388F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #38388f;
/* rgb */ color: rgb(56, 56, 143);
/* oklch */ color: oklch(39.5% 0.140 277.8);
Tailwind
colors: {
  custom: {
    50: '#786eb0',
    500: '#38388f',
    950: '#000000',
  },
}
SCSS
$custom: #38388f;
$custom-light: #786eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#38388f",
  "rgb": {
    "r": 56,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3948,
    "c": 0.14025,
    "h": 277.8
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#38388F
secondary
#B3B370
accent
#D354D3
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #38388F

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

Preview Lab → · Contrast checker → · Palette generator →

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