#38427E#38427E

#38427E is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.101 H 273.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#38427E
RGBrgb(56, 66, 126)
HSLhsl(231, 38%, 36%)
HSVhsv(231, 56%, 49%)
CMYKcmyk(55.6%, 47.6%, 0%, 50.6%)
CIE-LABlab(30.02, 14.61, -35.39)
CIE-LCHlch(30.02, 38.28, 292.43°)
OKLaboklab(40.22% 0.0068 -0.1007)
OKLCHoklch(40.22% 0.101 273.9)
XYZxyz(7.3438, 6.2430, 20.5527)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38427E #7E7438
analogous
#38657E #38427E #51387E
triadic
#38427E #7E3842 #427E38
tetradic
#38427E #7E3865 #7E7438 #387E51
square
#38427E #7E3865 #7E7438 #387E51
split-complementary
#38427E #7E5138 #657E38
monochromatic
#121629 #252C54 #38427E #4B58A8 #717CC0

Accessibility & contrast

On white

9.34
#38427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#38427E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38427E
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38427E#FFFFFF#000000##FFFFFF
##38427E1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#1F447D
Tritanopia (blue-blind)
#164F5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #38427e;
/* rgb */ color: rgb(56, 66, 126);
/* oklch */ color: oklch(40.2% 0.101 273.9);
Tailwind
colors: {
  custom: {
    50: '#7476a4',
    500: '#38427e',
    950: '#000000',
  },
}
SCSS
$custom: #38427e;
$custom-light: #7476a4;
$custom-dark: #000000;
JSON
{
  "hex": "#38427e",
  "rgb": {
    "r": 56,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 231.429,
    "s": 38.462,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4022,
    "c": 0.10094,
    "h": 273.9
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#38427E
secondary
#A9A069
accent
#BE59CE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #38427E

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

Preview Lab → · Contrast checker → · Palette generator →

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