#38557F#38557F

#38557F is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.6% C 0.078 H 257.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#38557F
RGBrgb(56, 85, 127)
HSLhsl(215, 39%, 36%)
HSVhsv(215, 56%, 50%)
CMYKcmyk(55.9%, 33.1%, 0%, 50.2%)
CIE-LABlab(35.73, 2.43, -26.96)
CIE-LCHlch(35.73, 27.07, 275.15°)
OKLaboklab(44.65% -0.0167 -0.0759)
OKLCHoklch(44.65% 0.078 257.6)
XYZxyz(8.7088, 8.8694, 21.3276)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38557F #7F6238
analogous
#38787F #38557F #3E387F
triadic
#38557F #7F3855 #557F38
tetradic
#38557F #7F3878 #7F6238 #387F3E
square
#38557F #7F3878 #7F6238 #387F3E
split-complementary
#38557F #7F3E38 #787F38
monochromatic
#131C2A #253955 #38557F #4B71A9 #7191C0

Accessibility & contrast

On white

7.57
#38557F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38557F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38557F#FFFFFF#000000##FFFFFF
##38557F1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#3B517E
Tritanopia (blue-blind)
#0F5E64
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #38557f;
/* rgb */ color: rgb(56, 85, 127);
/* oklch */ color: oklch(44.6% 0.078 257.6);
Tailwind
colors: {
  custom: {
    50: '#7484a4',
    500: '#38557f',
    950: '#000000',
  },
}
SCSS
$custom: #38557f;
$custom-light: #7484a4;
$custom-dark: #000000;
JSON
{
  "hex": "#38557f",
  "rgb": {
    "r": 56,
    "g": 85,
    "b": 127
  },
  "hsl": {
    "h": 215.493,
    "s": 38.798,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44647,
    "c": 0.07773,
    "h": 257.6
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#38557F
secondary
#A98F69
accent
#9F59CF
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #38557F

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

Preview Lab → · Contrast checker → · Palette generator →

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