#38477F#38477F

#38477F is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.095 H 270.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#38477F
RGBrgb(56, 71, 127)
HSLhsl(227, 39%, 36%)
HSVhsv(227, 56%, 50%)
CMYKcmyk(55.9%, 44.1%, 0%, 50.2%)
CIE-LABlab(31.53, 11.61, -33.60)
CIE-LCHlch(31.53, 35.55, 289.06°)
OKLaboklab(41.4% 0.0008 -0.0954)
OKLCHoklch(41.4% 0.095 270.5)
XYZxyz(7.7136, 6.8790, 20.9959)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38477F #7F7038
analogous
#386A7F #38477F #4C387F
triadic
#38477F #7F3847 #477F38
tetradic
#38477F #7F386A #7F7038 #387F4C
square
#38477F #7F386A #7F7038 #387F4C
split-complementary
#38477F #7F4C38 #6A7F38
monochromatic
#13182A #252F55 #38477F #4B5FA9 #7182C0

Accessibility & contrast

On white

8.84
#38477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#38477F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38477F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38477F#FFFFFF#000000##FFFFFF
##38477F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#27477E
Tritanopia (blue-blind)
#14535D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38477f;
/* rgb */ color: rgb(56, 71, 127);
/* oklch */ color: oklch(41.4% 0.095 270.5);
Tailwind
colors: {
  custom: {
    50: '#7479a4',
    500: '#38477f',
    950: '#000000',
  },
}
SCSS
$custom: #38477f;
$custom-light: #7479a4;
$custom-dark: #000000;
JSON
{
  "hex": "#38477f",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 227.324,
    "s": 38.798,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41395,
    "c": 0.09542,
    "h": 270.5
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#38477F
secondary
#A99C69
accent
#B659CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #38477F

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

Preview Lab → · Contrast checker → · Palette generator →

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