#38599C#38599C

#38599C is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.3% C 0.115 H 263.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#38599C
RGBrgb(56, 89, 156)
HSLhsl(220, 47%, 42%)
HSVhsv(220, 64%, 61%)
CMYKcmyk(64.1%, 42.9%, 0%, 38.8%)
CIE-LABlab(38.52, 10.13, -40.15)
CIE-LCHlch(38.52, 41.40, 284.16°)
OKLaboklab(47.34% -0.0141 -0.1144)
OKLCHoklch(47.34% 0.115 263)
XYZxyz(11.2019, 10.3848, 32.8602)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38599C #9C7B38
analogous
#388B9C #38599C #49389C
triadic
#38599C #9C3859 #599C38
tetradic
#38599C #9C388B #9C7B38 #389C49
square
#38599C #9C388B #9C7B38 #389C49
split-complementary
#38599C #9C4938 #8B9C38
monochromatic
#182642 #283F6F #38599C #5176C0 #7E99D1

Accessibility & contrast

On white

6.82
#38599C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #38599C
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38599C#FFFFFF#000000##FFFFFF
##38599C1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38599c;
/* rgb */ color: rgb(56, 89, 156);
/* oklch */ color: oklch(47.3% 0.115 263.0);
Tailwind
colors: {
  custom: {
    50: '#7987b9',
    500: '#38599c',
    950: '#000000',
  },
}
SCSS
$custom: #38599c;
$custom-light: #7987b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38599c",
  "rgb": {
    "r": 56,
    "g": 89,
    "b": 156
  },
  "hsl": {
    "h": 220.2,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47336,
    "c": 0.11527,
    "h": 263
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#38599C
secondary
#BAA376
accent
#AB51D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #38599C

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

Preview Lab → · Contrast checker → · Palette generator →

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