#38478D#38478D

#38478D is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.4% C 0.117 H 271.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#38478D
RGBrgb(56, 71, 141)
HSLhsl(229, 43%, 39%)
HSVhsv(229, 60%, 55%)
CMYKcmyk(60.3%, 49.6%, 0%, 44.7%)
CIE-LABlab(32.41, 16.58, -40.83)
CIE-LCHlch(32.41, 44.07, 292.10°)
OKLaboklab(42.35% 0.0031 -0.1166)
OKLCHoklch(42.35% 0.117 271.5)
XYZxyz(8.6903, 7.2696, 26.1394)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38478D #8D7E38
analogous
#38718D #38478D #53388D
triadic
#38478D #8D3847 #478D38
tetradic
#38478D #8D3871 #8D7E38 #388D53
square
#38478D #8D3871 #8D7E38 #388D53
split-complementary
#38478D #8D5338 #718D38
monochromatic
#151B35 #273161 #38478D #4B5EB7 #7785C9

Accessibility & contrast

On white

8.56
#38478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#38478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38478D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38478D#FFFFFF#000000##FFFFFF
##38478D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#16498C
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #38478d;
/* rgb */ color: rgb(56, 71, 141);
/* oklch */ color: oklch(42.4% 0.117 271.5);
Tailwind
colors: {
  custom: {
    50: '#7779af',
    500: '#38478d',
    950: '#000000',
  },
}
SCSS
$custom: #38478d;
$custom-light: #7779af;
$custom-dark: #000000;
JSON
{
  "hex": "#38478d",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 229.412,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42354,
    "c": 0.11669,
    "h": 271.5
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#38478D
secondary
#B2A66F
accent
#BD55D3
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38478D

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

Preview Lab → · Contrast checker → · Palette generator →

#38478D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva