#38478E#38478E

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

Color values

HEX#38478E
RGBrgb(56, 71, 142)
HSLhsl(230, 43%, 39%)
HSVhsv(230, 61%, 56%)
CMYKcmyk(60.6%, 50%, 0%, 44.3%)
CIE-LABlab(32.48, 16.93, -41.34)
CIE-LCHlch(32.48, 44.67, 292.28°)
OKLaboklab(42.43% 0.0032 -0.1181)
OKLCHoklch(42.43% 0.118 271.5)
XYZxyz(8.7650, 7.2995, 26.5330)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38478E #8E7F38
analogous
#38728E #38478E #54388E
triadic
#38478E #8E3847 #478E38
tetradic
#38478E #8E3872 #8E7F38 #388E54
square
#38478E #8E3872 #8E7F38 #388E54
split-complementary
#38478E #8E5438 #728E38
monochromatic
#151B36 #273162 #38478E #4B5EB8 #7785C9

Accessibility & contrast

On white

8.54
#38478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#38478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38478E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38478E#FFFFFF#000000##FFFFFF
##38478E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#14498D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #38478e;
/* rgb */ color: rgb(56, 71, 142);
/* oklch */ color: oklch(42.4% 0.118 271.5);
Tailwind
colors: {
  custom: {
    50: '#7779af',
    500: '#38478e',
    950: '#000000',
  },
}
SCSS
$custom: #38478e;
$custom-light: #7779af;
$custom-dark: #000000;
JSON
{
  "hex": "#38478e",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 229.535,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42426,
    "c": 0.11818,
    "h": 271.5
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#38478E
secondary
#B2A76F
accent
#BD55D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38478E

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

Preview Lab → · Contrast checker → · Palette generator →

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