#38437E#38437E

#38437E is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.100 H 273.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#38437E
RGBrgb(56, 67, 126)
HSLhsl(231, 38%, 36%)
HSVhsv(231, 56%, 49%)
CMYKcmyk(55.6%, 46.8%, 0%, 50.6%)
CIE-LABlab(30.31, 13.94, -34.93)
CIE-LCHlch(30.31, 37.60, 291.75°)
OKLaboklab(40.44% 0.0056 -0.0993)
OKLCHoklch(40.44% 0.1 273.2)
XYZxyz(7.4027, 6.3609, 20.5723)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38437E #7E7338
analogous
#38667E #38437E #50387E
triadic
#38437E #7E3843 #437E38
tetradic
#38437E #7E3866 #7E7338 #387E50
square
#38437E #7E3866 #7E7338 #387E50
split-complementary
#38437E #7E5038 #667E38
monochromatic
#121629 #252C54 #38437E #4B5AA8 #717DC0

Accessibility & contrast

On white

9.24
#38437E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#38437E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38437E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38437E#FFFFFF#000000##FFFFFF
##38437E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A80
Deuteranopia (green-blind)
#21457D
Tritanopia (blue-blind)
#16505A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #38437e;
/* rgb */ color: rgb(56, 67, 126);
/* oklch */ color: oklch(40.4% 0.100 273.2);
Tailwind
colors: {
  custom: {
    50: '#7476a4',
    500: '#38437e',
    950: '#000000',
  },
}
SCSS
$custom: #38437e;
$custom-light: #7476a4;
$custom-dark: #000000;
JSON
{
  "hex": "#38437e",
  "rgb": {
    "r": 56,
    "g": 67,
    "b": 126
  },
  "hsl": {
    "h": 230.571,
    "s": 38.462,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.09951,
    "h": 273.2
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#38437E
secondary
#A99F69
accent
#BC59CE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #38437E

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

Preview Lab → · Contrast checker → · Palette generator →

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