#38477E#38477E

#38477E is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.094 H 270.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#38477E
RGBrgb(56, 71, 126)
HSLhsl(227, 38%, 36%)
HSVhsv(227, 56%, 49%)
CMYKcmyk(55.6%, 43.7%, 0%, 50.6%)
CIE-LABlab(31.47, 11.26, -33.07)
CIE-LCHlch(31.47, 34.93, 288.80°)
OKLaboklab(41.33% 0.0006 -0.0939)
OKLCHoklch(41.33% 0.094 270.4)
XYZxyz(7.6488, 6.8531, 20.6543)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38477E #7E6F38
analogous
#386A7E #38477E #4C387E
triadic
#38477E #7E3847 #477E38
tetradic
#38477E #7E386A #7E6F38 #387E4C
square
#38477E #7E386A #7E6F38 #387E4C
split-complementary
#38477E #7E4C38 #6A7E38
monochromatic
#121729 #252F54 #38477E #4B5FA8 #7182C0

Accessibility & contrast

On white

8.86
#38477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#38477E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38477E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38477E#FFFFFF#000000##FFFFFF
##38477E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#28477D
Tritanopia (blue-blind)
#15535C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38477e;
/* rgb */ color: rgb(56, 71, 126);
/* oklch */ color: oklch(41.3% 0.094 270.4);
Tailwind
colors: {
  custom: {
    50: '#7479a4',
    500: '#38477e',
    950: '#000000',
  },
}
SCSS
$custom: #38477e;
$custom-light: #7479a4;
$custom-dark: #000000;
JSON
{
  "hex": "#38477e",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 227.143,
    "s": 38.462,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41329,
    "c": 0.09387,
    "h": 270.4
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#38477E
secondary
#A99B69
accent
#B559CE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #38477E

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

Preview Lab → · Contrast checker → · Palette generator →

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