#38397D#38397D

#38397D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.2% C 0.113 H 279.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#38397D
RGBrgb(56, 57, 125)
HSLhsl(239, 38%, 35%)
HSVhsv(239, 55%, 49%)
CMYKcmyk(55.2%, 54.4%, 0%, 51%)
CIE-LABlab(27.43, 20.32, -38.91)
CIE-LCHlch(27.43, 43.90, 297.58°)
OKLaboklab(38.24% 0.0176 -0.1112)
OKLCHoklch(38.24% 0.113 279)
XYZxyz(6.7945, 5.2473, 20.0529)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38397D #7D7C38
analogous
#385C7D #38397D #59387D
triadic
#38397D #7D3839 #397D38
tetradic
#38397D #7D385C #7D7C38 #387D59
square
#38397D #7D385C #7D7C38 #387D59
split-complementary
#38397D #7D5938 #5C7D38
monochromatic
#121228 #252653 #38397D #4B4CA7 #7071BF

Accessibility & contrast

On white

10.25
#38397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#38397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38397D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38397D#FFFFFF#000000##FFFFFF
##38397D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14447F
Deuteranopia (green-blind)
#0A3E7C
Tritanopia (blue-blind)
#194855
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38397d;
/* rgb */ color: rgb(56, 57, 125);
/* oklch */ color: oklch(38.2% 0.113 279.0);
Tailwind
colors: {
  custom: {
    50: '#756fa3',
    500: '#38397d',
    950: '#000000',
  },
}
SCSS
$custom: #38397d;
$custom-light: #756fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#38397d",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 239.13,
    "s": 38.122,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38242,
    "c": 0.11255,
    "h": 279
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#38397D
secondary
#A8A769
accent
#CC5ACE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #38397D

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

Preview Lab → · Contrast checker → · Palette generator →

#38397D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva