#38588A#38588A

#38588A is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.0% C 0.090 H 259.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#38588A
RGBrgb(56, 88, 138)
HSLhsl(217, 42%, 38%)
HSVhsv(217, 59%, 54%)
CMYKcmyk(59.4%, 36.2%, 0%, 45.9%)
CIE-LABlab(37.21, 4.34, -31.35)
CIE-LCHlch(37.21, 31.65, 277.87°)
OKLaboklab(45.99% -0.0172 -0.0887)
OKLCHoklch(45.99% 0.09 259)
XYZxyz(9.7065, 9.6544, 25.3918)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38588A #8A6A38
analogous
#38818A #38588A #41388A
triadic
#38588A #8A3858 #588A38
tetradic
#38588A #8A3881 #8A6A38 #388A41
square
#38588A #8A3881 #8A6A38 #388A41
split-complementary
#38588A #8A4138 #818A38
monochromatic
#152033 #263C5E #38588A #4A74B5 #7595C7

Accessibility & contrast

On white

7.16
#38588A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#38588A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38588A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38588A#FFFFFF#000000##FFFFFF
##38588A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8C
Deuteranopia (green-blind)
#395489
Tritanopia (blue-blind)
#00636A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #38588a;
/* rgb */ color: rgb(56, 88, 138);
/* oklch */ color: oklch(46.0% 0.090 259.0);
Tailwind
colors: {
  custom: {
    50: '#7686ac',
    500: '#38588a',
    950: '#000000',
  },
}
SCSS
$custom: #38588a;
$custom-light: #7686ac;
$custom-dark: #000000;
JSON
{
  "hex": "#38588a",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 138
  },
  "hsl": {
    "h": 216.585,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45991,
    "c": 0.09035,
    "h": 259
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#38588A
secondary
#B0966E
accent
#A256D2
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #38588A

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

Preview Lab → · Contrast checker → · Palette generator →

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