#38598F#38598F

#38598F is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.5% C 0.096 H 259.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#38598F
RGBrgb(56, 89, 143)
HSLhsl(217, 44%, 39%)
HSVhsv(217, 61%, 56%)
CMYKcmyk(60.8%, 37.8%, 0%, 43.9%)
CIE-LABlab(37.78, 5.46, -33.49)
CIE-LCHlch(37.78, 33.93, 279.26°)
OKLaboklab(46.52% -0.0171 -0.0949)
OKLCHoklch(46.52% 0.096 259.8)
XYZxyz(10.1595, 9.9678, 27.3699)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38598F #8F6E38
analogous
#38858F #38598F #42388F
triadic
#38598F #8F3859 #598F38
tetradic
#38598F #8F3885 #8F6E38 #388F42
square
#38598F #8F3885 #8F6E38 #388F42
split-complementary
#38598F #8F4238 #858F38
monochromatic
#162237 #273E63 #38598F #4B75B9 #7797CA

Accessibility & contrast

On white

7.01
#38598F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#38598F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38598F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38598F#FFFFFF#000000##FFFFFF
##38598F1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D91
Deuteranopia (green-blind)
#37558E
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #38598f;
/* rgb */ color: rgb(56, 89, 143);
/* oklch */ color: oklch(46.5% 0.096 259.8);
Tailwind
colors: {
  custom: {
    50: '#7687b0',
    500: '#38598f',
    950: '#000000',
  },
}
SCSS
$custom: #38598f;
$custom-light: #7687b0;
$custom-dark: #000000;
JSON
{
  "hex": "#38598f",
  "rgb": {
    "r": 56,
    "g": 89,
    "b": 143
  },
  "hsl": {
    "h": 217.241,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46522,
    "c": 0.09643,
    "h": 259.8
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#38598F
secondary
#B39970
accent
#A354D3
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #38598F

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

Preview Lab → · Contrast checker → · Palette generator →

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