#38579A#38579A

#38579A is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.8% C 0.115 H 263.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#38579A
RGBrgb(56, 87, 154)
HSLhsl(221, 47%, 41%)
HSVhsv(221, 64%, 60%)
CMYKcmyk(63.6%, 43.5%, 0%, 39.6%)
CIE-LABlab(37.82, 10.70, -40.06)
CIE-LCHlch(37.82, 41.47, 284.95°)
OKLaboklab(46.76% -0.0124 -0.1142)
OKLCHoklch(46.76% 0.115 263.8)
XYZxyz(10.8698, 9.9893, 31.9209)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38579A #9A7B38
analogous
#38889A #38579A #4A389A
triadic
#38579A #9A3857 #579A38
tetradic
#38579A #9A3888 #9A7B38 #389A4A
square
#38579A #9A3888 #9A7B38 #389A4A
split-complementary
#38579A #9A4A38 #889A38
monochromatic
#172440 #283E6D #38579A #5073BF #7D97D0

Accessibility & contrast

On white

7.00
#38579A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#38579A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38579A
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38579A#FFFFFF#000000##FFFFFF
##38579A1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9D
Deuteranopia (green-blind)
#2A5599
Tritanopia (blue-blind)
#006671
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #38579a;
/* rgb */ color: rgb(56, 87, 154);
/* oklch */ color: oklch(46.8% 0.115 263.8);
Tailwind
colors: {
  custom: {
    50: '#7886b8',
    500: '#38579a',
    950: '#000000',
  },
}
SCSS
$custom: #38579a;
$custom-light: #7886b8;
$custom-dark: #000000;
JSON
{
  "hex": "#38579a",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 154
  },
  "hsl": {
    "h": 221.02,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46757,
    "c": 0.11486,
    "h": 263.8
  },
  "luminance": 0.0999
}

Semantic roles & 50–950 ramp

primary
#38579A
secondary
#B9A375
accent
#AC51D6
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #38579A

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

Preview Lab → · Contrast checker → · Palette generator →

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