#38397A#38397A

#38397A is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.0% C 0.108 H 279.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#38397A
RGBrgb(56, 57, 122)
HSLhsl(239, 37%, 35%)
HSVhsv(239, 54%, 48%)
CMYKcmyk(54.1%, 53.3%, 0%, 52.2%)
CIE-LABlab(27.22, 19.29, -37.36)
CIE-LCHlch(27.22, 42.05, 297.30°)
OKLaboklab(38.02% 0.0174 -0.1066)
OKLCHoklch(38.02% 0.108 279.3)
XYZxyz(6.6058, 5.1718, 19.0587)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38397A #7A7938
analogous
#385A7A #38397A #58387A
triadic
#38397A #7A3839 #397A38
tetradic
#38397A #7A385A #7A7938 #387A58
square
#38397A #7A385A #7A7938 #387A58
split-complementary
#38397A #7A5838 #5A7A38
monochromatic
#111226 #252550 #38397A #4B4DA4 #6F71BD

Accessibility & contrast

On white

10.32
#38397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#38397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38397A
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38397A#FFFFFF#000000##FFFFFF
##38397A1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437C
Deuteranopia (green-blind)
#103E79
Tritanopia (blue-blind)
#1C4754
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #38397a;
/* rgb */ color: rgb(56, 57, 122);
/* oklch */ color: oklch(38.0% 0.108 279.3);
Tailwind
colors: {
  custom: {
    50: '#746fa1',
    500: '#38397a',
    950: '#000000',
  },
}
SCSS
$custom: #38397a;
$custom-light: #746fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#38397a",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 239.091,
    "s": 37.079,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38018,
    "c": 0.10801,
    "h": 279.3
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#38397A
secondary
#A6A568
accent
#CB5BCD
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070F
muted
#7B7A7E

Preview Lab

Preview with #38397A

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

Preview Lab → · Contrast checker → · Palette generator →

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