#38537E#38537E

#38537E is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.1% C 0.079 H 259.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#38537E
RGBrgb(56, 83, 126)
HSLhsl(217, 38%, 36%)
HSVhsv(217, 56%, 49%)
CMYKcmyk(55.6%, 34.1%, 0%, 50.6%)
CIE-LABlab(35.07, 3.37, -27.38)
CIE-LCHlch(35.07, 27.59, 277.02°)
OKLaboklab(44.11% -0.0145 -0.0772)
OKLCHoklch(44.11% 0.079 259.4)
XYZxyz(8.4888, 8.5330, 20.9343)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38537E #7E6338
analogous
#38767E #38537E #40387E
triadic
#38537E #7E3853 #537E38
tetradic
#38537E #7E3876 #7E6338 #387E40
square
#38537E #7E3876 #7E6338 #387E40
split-complementary
#38537E #7E4038 #767E38
monochromatic
#121B29 #253754 #38537E #4B6FA8 #718FC0

Accessibility & contrast

On white

7.76
#38537E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#38537E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38537E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38537E#FFFFFF#000000##FFFFFF
##38537E1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#394F7D
Tritanopia (blue-blind)
#115C62
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #38537e;
/* rgb */ color: rgb(56, 83, 126);
/* oklch */ color: oklch(44.1% 0.079 259.4);
Tailwind
colors: {
  custom: {
    50: '#7483a3',
    500: '#38537e',
    950: '#000000',
  },
}
SCSS
$custom: #38537e;
$custom-light: #7483a3;
$custom-dark: #000000;
JSON
{
  "hex": "#38537e",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 126
  },
  "hsl": {
    "h": 216.857,
    "s": 38.462,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44113,
    "c": 0.07851,
    "h": 259.4
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#38537E
secondary
#A99069
accent
#A159CE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #38537E

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

Preview Lab → · Contrast checker → · Palette generator →

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