#38588C#38588C

#38588C is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.1% C 0.093 H 259.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#38588C
RGBrgb(56, 88, 140)
HSLhsl(217, 43%, 38%)
HSVhsv(217, 60%, 55%)
CMYKcmyk(60%, 37.1%, 0%, 45.1%)
CIE-LABlab(37.32, 5.04, -32.40)
CIE-LCHlch(37.32, 32.79, 278.84°)
OKLaboklab(46.11% -0.0167 -0.0917)
OKLCHoklch(46.11% 0.093 259.7)
XYZxyz(9.8526, 9.7128, 26.1614)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38588C #8C6C38
analogous
#38828C #38588C #42388C
triadic
#38588C #8C3858 #588C38
tetradic
#38588C #8C3882 #8C6C38 #388C42
square
#38588C #8C3882 #8C6C38 #388C42
split-complementary
#38588C #8C4238 #828C38
monochromatic
#152135 #273D60 #38588C #4A74B7 #7695C8

Accessibility & contrast

On white

7.14
#38588C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#38588C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38588C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38588C#FFFFFF#000000##FFFFFF
##38588C1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38588c;
/* rgb */ color: rgb(56, 88, 140);
/* oklch */ color: oklch(46.1% 0.093 259.7);
Tailwind
colors: {
  custom: {
    50: '#7686ae',
    500: '#38588c',
    950: '#000000',
  },
}
SCSS
$custom: #38588c;
$custom-light: #7686ae;
$custom-dark: #000000;
JSON
{
  "hex": "#38588c",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 140
  },
  "hsl": {
    "h": 217.143,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.09324,
    "h": 259.7
  },
  "luminance": 0.09714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38588C

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

Preview Lab → · Contrast checker → · Palette generator →

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