#38467E#38467E

#38467E is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.095 H 271.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#38467E
RGBrgb(56, 70, 126)
HSLhsl(228, 38%, 36%)
HSVhsv(228, 56%, 49%)
CMYKcmyk(55.6%, 44.4%, 0%, 50.6%)
CIE-LABlab(31.18, 11.92, -33.54)
CIE-LCHlch(31.18, 35.59, 289.57°)
OKLaboklab(41.11% 0.0019 -0.0952)
OKLCHoklch(41.11% 0.095 271.1)
XYZxyz(7.5857, 6.7269, 20.6333)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38467E #7E7038
analogous
#38697E #38467E #4D387E
triadic
#38467E #7E3846 #467E38
tetradic
#38467E #7E3869 #7E7038 #387E4D
square
#38467E #7E3869 #7E7038 #387E4D
split-complementary
#38467E #7E4D38 #697E38
monochromatic
#121729 #252E54 #38467E #4B5EA8 #7180C0

Accessibility & contrast

On white

8.95
#38467E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#38467E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38467E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38467E#FFFFFF#000000##FFFFFF
##38467E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#26477D
Tritanopia (blue-blind)
#15525C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38467e;
/* rgb */ color: rgb(56, 70, 126);
/* oklch */ color: oklch(41.1% 0.095 271.1);
Tailwind
colors: {
  custom: {
    50: '#7479a4',
    500: '#38467e',
    950: '#000000',
  },
}
SCSS
$custom: #38467e;
$custom-light: #7479a4;
$custom-dark: #000000;
JSON
{
  "hex": "#38467e",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 126
  },
  "hsl": {
    "h": 228,
    "s": 38.462,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41105,
    "c": 0.09527,
    "h": 271.1
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#38467E
secondary
#A99C69
accent
#B759CE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #38467E

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

Preview Lab → · Contrast checker → · Palette generator →

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