#38579C#38579C

#38579C is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.9% C 0.118 H 264.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#38579C
RGBrgb(56, 87, 156)
HSLhsl(221, 47%, 42%)
HSVhsv(221, 64%, 61%)
CMYKcmyk(64.1%, 44.2%, 0%, 38.8%)
CIE-LABlab(37.94, 11.43, -41.07)
CIE-LCHlch(37.94, 42.63, 285.55°)
OKLaboklab(46.89% -0.012 -0.1171)
OKLCHoklch(46.89% 0.118 264.2)
XYZxyz(11.0377, 10.0564, 32.8055)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38579C #9C7D38
analogous
#38899C #38579C #4B389C
triadic
#38579C #9C3857 #579C38
tetradic
#38579C #9C3889 #9C7D38 #389C4B
square
#38579C #9C3889 #9C7D38 #389C4B
split-complementary
#38579C #9C4B38 #899C38
monochromatic
#182542 #283E6F #38579C #5173C0 #7E97D1

Accessibility & contrast

On white

6.97
#38579C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#38579C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38579C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38579C#FFFFFF#000000##FFFFFF
##38579C1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9F
Deuteranopia (green-blind)
#28559B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #38579c;
/* rgb */ color: rgb(56, 87, 156);
/* oklch */ color: oklch(46.9% 0.118 264.2);
Tailwind
colors: {
  custom: {
    50: '#7986b9',
    500: '#38579c',
    950: '#000000',
  },
}
SCSS
$custom: #38579c;
$custom-light: #7986b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38579c",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 221.4,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46888,
    "c": 0.11776,
    "h": 264.2
  },
  "luminance": 0.10057
}

Semantic roles & 50–950 ramp

primary
#38579C
secondary
#BAA576
accent
#AD51D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #38579C

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

Preview Lab → · Contrast checker → · Palette generator →

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