#38557E#38557E

#38557E is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.6% C 0.076 H 257.1°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#38557E
RGBrgb(56, 85, 126)
HSLhsl(215, 38%, 36%)
HSVhsv(215, 56%, 49%)
CMYKcmyk(55.6%, 32.5%, 0%, 50.6%)
CIE-LABlab(35.68, 2.09, -26.42)
CIE-LCHlch(35.68, 26.51, 274.52°)
OKLaboklab(44.59% -0.017 -0.0744)
OKLCHoklch(44.59% 0.076 257.1)
XYZxyz(8.6440, 8.8434, 20.9861)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38557E #7E6138
analogous
#38787E #38557E #3E387E
triadic
#38557E #7E3855 #557E38
tetradic
#38557E #7E3878 #7E6138 #387E3E
square
#38557E #7E3878 #7E6138 #387E3E
split-complementary
#38557E #7E3E38 #787E38
monochromatic
#121C29 #253854 #38557E #4B72A8 #7191C0

Accessibility & contrast

On white

7.58
#38557E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#38557E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38557E
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38557E#FFFFFF#000000##FFFFFF
##38557E1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455880
Deuteranopia (green-blind)
#3C517D
Tritanopia (blue-blind)
#105E64
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #38557e;
/* rgb */ color: rgb(56, 85, 126);
/* oklch */ color: oklch(44.6% 0.076 257.1);
Tailwind
colors: {
  custom: {
    50: '#7484a3',
    500: '#38557e',
    950: '#000000',
  },
}
SCSS
$custom: #38557e;
$custom-light: #7484a3;
$custom-dark: #000000;
JSON
{
  "hex": "#38557e",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 126
  },
  "hsl": {
    "h": 215.143,
    "s": 38.462,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.07628,
    "h": 257.1
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#38557E
secondary
#A98E69
accent
#9E59CE
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #38557E

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

Preview Lab → · Contrast checker → · Palette generator →

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