#38579D#38579D

#38579D is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.0% C 0.119 H 264.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#38579D
RGBrgb(56, 87, 157)
HSLhsl(222, 47%, 42%)
HSVhsv(222, 64%, 62%)
CMYKcmyk(64.3%, 44.6%, 0%, 38.4%)
CIE-LABlab(38.00, 11.79, -41.57)
CIE-LCHlch(38.00, 43.21, 285.83°)
OKLaboklab(46.96% -0.0118 -0.1186)
OKLCHoklch(46.96% 0.119 264.3)
XYZxyz(11.1228, 10.0905, 33.2532)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38579D #9D7E38
analogous
#388A9D #38579D #4C389D
triadic
#38579D #9D3857 #579D38
tetradic
#38579D #9D388A #9D7E38 #389D4C
square
#38579D #9D388A #9D7E38 #389D4C
split-complementary
#38579D #9D4C38 #8A9D38
monochromatic
#182543 #283E70 #38579D #5174C1 #7E98D1

Accessibility & contrast

On white

6.96
#38579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#38579D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38579D
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38579D#FFFFFF#000000##FFFFFF
##38579D1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365EA0
Deuteranopia (green-blind)
#26559C
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #38579d;
/* rgb */ color: rgb(56, 87, 157);
/* oklch */ color: oklch(47.0% 0.119 264.3);
Tailwind
colors: {
  custom: {
    50: '#7986ba',
    500: '#38579d',
    950: '#000000',
  },
}
SCSS
$custom: #38579d;
$custom-light: #7986ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38579d",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 221.584,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.11921,
    "h": 264.3
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#38579D
secondary
#BAA676
accent
#AE51D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #38579D

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

Preview Lab → · Contrast checker → · Palette generator →

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