#38467F#38467F

#38467F is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.097 H 271.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#38467F
RGBrgb(56, 70, 127)
HSLhsl(228, 39%, 36%)
HSVhsv(228, 56%, 50%)
CMYKcmyk(55.9%, 44.9%, 0%, 50.2%)
CIE-LABlab(31.24, 12.28, -34.06)
CIE-LCHlch(31.24, 36.21, 289.82°)
OKLaboklab(41.17% 0.0021 -0.0968)
OKLCHoklch(41.17% 0.097 271.2)
XYZxyz(7.6506, 6.7528, 20.9748)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38467F #7F7138
analogous
#38697F #38467F #4D387F
triadic
#38467F #7F3846 #467F38
tetradic
#38467F #7F3869 #7F7138 #387F4D
square
#38467F #7F3869 #7F7138 #387F4D
split-complementary
#38467F #7F4D38 #697F38
monochromatic
#13172A #252F55 #38467F #4B5DA9 #7181C0

Accessibility & contrast

On white

8.93
#38467F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38467F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38467F#FFFFFF#000000##FFFFFF
##38467F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#25477E
Tritanopia (blue-blind)
#14525C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #38467f;
/* rgb */ color: rgb(56, 70, 127);
/* oklch */ color: oklch(41.2% 0.097 271.2);
Tailwind
colors: {
  custom: {
    50: '#7479a4',
    500: '#38467f',
    950: '#000000',
  },
}
SCSS
$custom: #38467f;
$custom-light: #7479a4;
$custom-dark: #000000;
JSON
{
  "hex": "#38467f",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 127
  },
  "hsl": {
    "h": 228.169,
    "s": 38.798,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41171,
    "c": 0.09681,
    "h": 271.2
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#38467F
secondary
#A99D69
accent
#B859CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #38467F

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

Preview Lab → · Contrast checker → · Palette generator →

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