#38589D#38589D

#38589D is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.2% C 0.118 H 263.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#38589D
RGBrgb(56, 88, 157)
HSLhsl(221, 47%, 42%)
HSVhsv(221, 64%, 62%)
CMYKcmyk(64.3%, 43.9%, 0%, 38.4%)
CIE-LABlab(38.29, 11.14, -41.11)
CIE-LCHlch(38.29, 42.59, 285.16°)
OKLaboklab(47.18% -0.0128 -0.1173)
OKLCHoklch(47.18% 0.118 263.8)
XYZxyz(11.2043, 10.2535, 33.2804)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38589D #9D7D38
analogous
#388B9D #38589D #4B389D
triadic
#38589D #9D3858 #589D38
tetradic
#38589D #9D388B #9D7D38 #389D4B
square
#38589D #9D388B #9D7D38 #389D4B
split-complementary
#38589D #9D4B38 #8B9D38
monochromatic
#182543 #283F70 #38589D #5175C1 #7E99D1

Accessibility & contrast

On white

6.88
#38589D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#38589D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38589D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38589D#FFFFFF#000000##FFFFFF
##38589D1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385FA0
Deuteranopia (green-blind)
#28569C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #38589d;
/* rgb */ color: rgb(56, 88, 157);
/* oklch */ color: oklch(47.2% 0.118 263.8);
Tailwind
colors: {
  custom: {
    50: '#7986ba',
    500: '#38589d',
    950: '#000000',
  },
}
SCSS
$custom: #38589d;
$custom-light: #7986ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38589d",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 220.99,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47177,
    "c": 0.11796,
    "h": 263.8
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#38589D
secondary
#BAA576
accent
#AC51D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #38589D

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

Preview Lab → · Contrast checker → · Palette generator →

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