#38588D#38588D

#38588D is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.2% C 0.095 H 260.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#38588D
RGBrgb(56, 88, 141)
HSLhsl(217, 43%, 39%)
HSVhsv(217, 60%, 55%)
CMYKcmyk(60.3%, 37.6%, 0%, 44.7%)
CIE-LABlab(37.38, 5.40, -32.92)
CIE-LCHlch(37.38, 33.36, 279.31°)
OKLaboklab(46.17% -0.0164 -0.0933)
OKLCHoklch(46.17% 0.095 260)
XYZxyz(9.9267, 9.7424, 26.5515)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38588D #8D6D38
analogous
#38828D #38588D #42388D
triadic
#38588D #8D3858 #588D38
tetradic
#38588D #8D3882 #8D6D38 #388D42
square
#38588D #8D3882 #8D6D38 #388D42
split-complementary
#38588D #8D4238 #828D38
monochromatic
#152135 #273D61 #38588D #4B74B7 #7796C9

Accessibility & contrast

On white

7.12
#38588D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#38588D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38588D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38588D#FFFFFF#000000##FFFFFF
##38588D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425C8F
Deuteranopia (green-blind)
#37548C
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #38588d;
/* rgb */ color: rgb(56, 88, 141);
/* oklch */ color: oklch(46.2% 0.095 260.0);
Tailwind
colors: {
  custom: {
    50: '#7686ae',
    500: '#38588d',
    950: '#000000',
  },
}
SCSS
$custom: #38588d;
$custom-light: #7686ae;
$custom-dark: #000000;
JSON
{
  "hex": "#38588d",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 141
  },
  "hsl": {
    "h": 217.412,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.0947,
    "h": 260
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#38588D
secondary
#B2996F
accent
#A355D3
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #38588D

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

Preview Lab → · Contrast checker → · Palette generator →

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