#38599D#38599D

#38599D is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.4% C 0.117 H 263.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#38599D
RGBrgb(56, 89, 157)
HSLhsl(220, 47%, 42%)
HSVhsv(220, 64%, 62%)
CMYKcmyk(64.3%, 43.3%, 0%, 38.4%)
CIE-LABlab(38.58, 10.49, -40.65)
CIE-LCHlch(38.58, 41.98, 284.47°)
OKLaboklab(47.4% -0.0139 -0.1159)
OKLCHoklch(47.4% 0.117 263.2)
XYZxyz(11.2869, 10.4188, 33.3080)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38599D #9D7C38
analogous
#388C9D #38599D #4A389D
triadic
#38599D #9D3859 #599D38
tetradic
#38599D #9D388C #9D7C38 #389D4A
square
#38599D #9D388C #9D7C38 #389D4A
split-complementary
#38599D #9D4A38 #8C9D38
monochromatic
#182643 #283F70 #38599D #5176C1 #7E99D1

Accessibility & contrast

On white

6.81
#38599D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#38599D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38599D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38599D#FFFFFF#000000##FFFFFF
##38599D1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#2A579C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #38599d;
/* rgb */ color: rgb(56, 89, 157);
/* oklch */ color: oklch(47.4% 0.117 263.2);
Tailwind
colors: {
  custom: {
    50: '#7987ba',
    500: '#38599d',
    950: '#000000',
  },
}
SCSS
$custom: #38599d;
$custom-light: #7987ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38599d",
  "rgb": {
    "r": 56,
    "g": 89,
    "b": 157
  },
  "hsl": {
    "h": 220.396,
    "s": 47.418,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47401,
    "c": 0.11671,
    "h": 263.2
  },
  "luminance": 0.1042
}

Semantic roles & 50–950 ramp

primary
#38599D
secondary
#BAA476
accent
#AB51D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #38599D

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

Preview Lab → · Contrast checker → · Palette generator →

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