#38598E#38598E

#38598E is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.5% C 0.095 H 259.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#38598E
RGBrgb(56, 89, 142)
HSLhsl(217, 43%, 39%)
HSVhsv(217, 61%, 56%)
CMYKcmyk(60.6%, 37.3%, 0%, 44.3%)
CIE-LABlab(37.73, 5.11, -32.97)
CIE-LCHlch(37.73, 33.36, 278.80°)
OKLaboklab(46.46% -0.0173 -0.0934)
OKLCHoklch(46.46% 0.095 259.5)
XYZxyz(10.0840, 9.9376, 26.9727)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38598E #8E6D38
analogous
#38848E #38598E #42388E
triadic
#38598E #8E3859 #598E38
tetradic
#38598E #8E3884 #8E6D38 #388E42
square
#38598E #8E3884 #8E6D38 #388E42
split-complementary
#38598E #8E4238 #848E38
monochromatic
#152236 #273D62 #38598E #4B75B8 #7797C9

Accessibility & contrast

On white

7.03
#38598E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38598E
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38598E#FFFFFF#000000##FFFFFF
##38598E1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D90
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #38598e;
/* rgb */ color: rgb(56, 89, 142);
/* oklch */ color: oklch(46.5% 0.095 259.5);
Tailwind
colors: {
  custom: {
    50: '#7687af',
    500: '#38598e',
    950: '#000000',
  },
}
SCSS
$custom: #38598e;
$custom-light: #7687af;
$custom-dark: #000000;
JSON
{
  "hex": "#38598e",
  "rgb": {
    "r": 56,
    "g": 89,
    "b": 142
  },
  "hsl": {
    "h": 216.977,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46462,
    "c": 0.09498,
    "h": 259.5
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#38598E
secondary
#B2996F
accent
#A355D3
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #38598E

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

Preview Lab → · Contrast checker → · Palette generator →

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