#38598D#38598D

#38598D is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.4% C 0.094 H 259.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#38598D
RGBrgb(56, 89, 141)
HSLhsl(217, 43%, 39%)
HSVhsv(217, 60%, 55%)
CMYKcmyk(60.3%, 36.9%, 0%, 44.7%)
CIE-LABlab(37.68, 4.75, -32.45)
CIE-LCHlch(37.68, 32.80, 278.33°)
OKLaboklab(46.4% -0.0176 -0.0919)
OKLCHoklch(46.4% 0.094 259.2)
XYZxyz(10.0093, 9.9077, 26.5791)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38598D #8D6C38
analogous
#38838D #38598D #41388D
triadic
#38598D #8D3859 #598D38
tetradic
#38598D #8D3883 #8D6C38 #388D41
square
#38598D #8D3883 #8D6C38 #388D41
split-complementary
#38598D #8D4138 #838D38
monochromatic
#152235 #273D61 #38598D #4B75B7 #7797C9

Accessibility & contrast

On white

7.04
#38598D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#38598D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38598D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38598D#FFFFFF#000000##FFFFFF
##38598D1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D8F
Deuteranopia (green-blind)
#38558C
Tritanopia (blue-blind)
#00656C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #38598d;
/* rgb */ color: rgb(56, 89, 141);
/* oklch */ color: oklch(46.4% 0.094 259.2);
Tailwind
colors: {
  custom: {
    50: '#7687ae',
    500: '#38598d',
    950: '#000000',
  },
}
SCSS
$custom: #38598d;
$custom-light: #7687ae;
$custom-dark: #000000;
JSON
{
  "hex": "#38598d",
  "rgb": {
    "r": 56,
    "g": 89,
    "b": 141
  },
  "hsl": {
    "h": 216.706,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46403,
    "c": 0.09354,
    "h": 259.2
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#38598D
secondary
#B2986F
accent
#A255D3
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #38598D

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

Preview Lab → · Contrast checker → · Palette generator →

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