#38599F#38599F

#38599F is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.5% C 0.120 H 263.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#38599F
RGBrgb(56, 89, 159)
HSLhsl(221, 48%, 42%)
HSVhsv(221, 65%, 62%)
CMYKcmyk(64.8%, 44%, 0%, 37.6%)
CIE-LABlab(38.70, 11.21, -41.65)
CIE-LCHlch(38.70, 43.14, 285.07°)
OKLaboklab(47.53% -0.0135 -0.1188)
OKLCHoklch(47.53% 0.12 263.5)
XYZxyz(11.4591, 10.4877, 34.2146)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38599F #9F7E38
analogous
#388C9F #38599F #4B389F
triadic
#38599F #9F3859 #599F38
tetradic
#38599F #9F388C #9F7E38 #389F4B
square
#38599F #9F388C #9F7E38 #389F4B
split-complementary
#38599F #9F4B38 #8C9F38
monochromatic
#182644 #284072 #38599F #5276C2 #7F9AD2

Accessibility & contrast

On white

6.78
#38599F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#38599F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38599F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38599F#FFFFFF#000000##FFFFFF
##38599F1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A2
Deuteranopia (green-blind)
#28579E
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #38599f;
/* rgb */ color: rgb(56, 89, 159);
/* oklch */ color: oklch(47.5% 0.120 263.5);
Tailwind
colors: {
  custom: {
    50: '#7987bc',
    500: '#38599f',
    950: '#000000',
  },
}
SCSS
$custom: #38599f;
$custom-light: #7987bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38599f",
  "rgb": {
    "r": 56,
    "g": 89,
    "b": 159
  },
  "hsl": {
    "h": 220.777,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47532,
    "c": 0.1196,
    "h": 263.5
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#38599F
secondary
#BBA677
accent
#AC50D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #38599F

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

Preview Lab → · Contrast checker → · Palette generator →

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