#38579F#38579F

#38579F is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.122 H 264.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#38579F
RGBrgb(56, 87, 159)
HSLhsl(222, 48%, 42%)
HSVhsv(222, 65%, 62%)
CMYKcmyk(64.8%, 45.3%, 0%, 37.6%)
CIE-LABlab(38.13, 12.52, -42.58)
CIE-LCHlch(38.13, 44.38, 286.38°)
OKLaboklab(47.09% -0.0114 -0.1216)
OKLCHoklch(47.09% 0.122 264.6)
XYZxyz(11.2949, 10.1593, 34.1599)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38579F #9F8038
analogous
#388B9F #38579F #4D389F
triadic
#38579F #9F3857 #579F38
tetradic
#38579F #9F388B #9F8038 #389F4D
square
#38579F #9F388B #9F8038 #389F4D
split-complementary
#38579F #9F4D38 #8B9F38
monochromatic
#182544 #283E72 #38579F #5274C2 #7F98D2

Accessibility & contrast

On white

6.93
#38579F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #38579F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38579F#FFFFFF#000000##FFFFFF
##38579F1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#24559E
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #38579f;
/* rgb */ color: rgb(56, 87, 159);
/* oklch */ color: oklch(47.1% 0.122 264.6);
Tailwind
colors: {
  custom: {
    50: '#7986bc',
    500: '#38579f',
    950: '#000000',
  },
}
SCSS
$custom: #38579f;
$custom-light: #7986bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38579f",
  "rgb": {
    "r": 56,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 221.942,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47088,
    "c": 0.12211,
    "h": 264.6
  },
  "luminance": 0.1016
}

Semantic roles & 50–950 ramp

primary
#38579F
secondary
#BBA777
accent
#AF50D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #38579F

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

Preview Lab → · Contrast checker → · Palette generator →

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