#38588B#38588B

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

Color values

HEX#38588B
RGBrgb(56, 88, 139)
HSLhsl(217, 43%, 38%)
HSVhsv(217, 60%, 55%)
CMYKcmyk(59.7%, 36.7%, 0%, 45.5%)
CIE-LABlab(37.27, 4.69, -31.88)
CIE-LCHlch(37.27, 32.22, 278.37°)
OKLaboklab(46.05% -0.0169 -0.0902)
OKLCHoklch(46.05% 0.092 259.4)
XYZxyz(9.7792, 9.6835, 25.7748)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38588B #8B6B38
analogous
#38818B #38588B #41388B
triadic
#38588B #8B3858 #588B38
tetradic
#38588B #8B3881 #8B6B38 #388B41
square
#38588B #8B3881 #8B6B38 #388B41
split-complementary
#38588B #8B4138 #818B38
monochromatic
#152134 #263C5F #38588B #4A74B6 #7695C8

Accessibility & contrast

On white

7.15
#38588B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38588B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38588B#FFFFFF#000000##FFFFFF
##38588B1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8D
Deuteranopia (green-blind)
#38548A
Tritanopia (blue-blind)
#00636B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #38588b;
/* rgb */ color: rgb(56, 88, 139);
/* oklch */ color: oklch(46.1% 0.092 259.4);
Tailwind
colors: {
  custom: {
    50: '#7686ad',
    500: '#38588b',
    950: '#000000',
  },
}
SCSS
$custom: #38588b;
$custom-light: #7686ad;
$custom-dark: #000000;
JSON
{
  "hex": "#38588b",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 139
  },
  "hsl": {
    "h": 216.867,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4605,
    "c": 0.0918,
    "h": 259.4
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#38588B
secondary
#B1976E
accent
#A255D2
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #38588B

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

Preview Lab → · Contrast checker → · Palette generator →

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