#38579E#38579E

#38579E is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.121 H 264.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#38579E
RGBrgb(56, 87, 158)
HSLhsl(222, 48%, 42%)
HSVhsv(222, 65%, 62%)
CMYKcmyk(64.6%, 44.9%, 0%, 38%)
CIE-LABlab(38.07, 12.15, -42.08)
CIE-LCHlch(38.07, 43.80, 286.11°)
OKLaboklab(47.02% -0.0116 -0.1201)
OKLCHoklch(47.02% 0.121 264.5)
XYZxyz(11.2085, 10.1247, 33.7047)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38579E #9E7F38
analogous
#388A9E #38579E #4C389E
triadic
#38579E #9E3857 #579E38
tetradic
#38579E #9E388A #9E7F38 #389E4C
square
#38579E #9E388A #9E7F38 #389E4C
split-complementary
#38579E #9E4C38 #8A9E38
monochromatic
#182544 #283E71 #38579E #5274C2 #7F98D2

Accessibility & contrast

On white

6.94
#38579E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#38579E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38579E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38579E#FFFFFF#000000##FFFFFF
##38579E1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#25559D
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #38579e;
/* rgb */ color: rgb(56, 87, 158);
/* oklch */ color: oklch(47.0% 0.121 264.5);
Tailwind
colors: {
  custom: {
    50: '#7986bb',
    500: '#38579e',
    950: '#000000',
  },
}
SCSS
$custom: #38579e;
$custom-light: #7986bb;
$custom-dark: #000000;
JSON
{
  "hex": "#38579e",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 221.765,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47021,
    "c": 0.12066,
    "h": 264.5
  },
  "luminance": 0.10126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38579E

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

Preview Lab → · Contrast checker → · Palette generator →

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