#38538C#38538C

#38538C is a dark, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.099 H 263.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#38538C
RGBrgb(56, 83, 140)
HSLhsl(221, 43%, 38%)
HSVhsv(221, 60%, 55%)
CMYKcmyk(60%, 40.7%, 0%, 45.1%)
CIE-LABlab(35.83, 8.28, -34.77)
CIE-LCHlch(35.83, 35.74, 283.40°)
OKLaboklab(44.95% -0.0108 -0.0987)
OKLCHoklch(44.95% 0.099 263.7)
XYZxyz(9.4561, 8.9199, 26.0293)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38538C #8C7138
analogous
#387D8C #38538C #47388C
triadic
#38538C #8C3853 #538C38
tetradic
#38538C #8C387D #8C7138 #388C47
square
#38538C #8C387D #8C7138 #388C47
split-complementary
#38538C #8C4738 #7D8C38
monochromatic
#151F35 #273960 #38538C #4A6DB7 #7691C8

Accessibility & contrast

On white

7.54
#38538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#38538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38538C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38538C#FFFFFF#000000##FFFFFF
##38538C1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588E
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #38538c;
/* rgb */ color: rgb(56, 83, 140);
/* oklch */ color: oklch(45.0% 0.099 263.7);
Tailwind
colors: {
  custom: {
    50: '#7683ae',
    500: '#38538c',
    950: '#000000',
  },
}
SCSS
$custom: #38538c;
$custom-light: #7683ae;
$custom-dark: #000000;
JSON
{
  "hex": "#38538c",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 220.714,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44952,
    "c": 0.0993,
    "h": 263.7
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

primary
#38538C
secondary
#B19C6F
accent
#AA55D3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #38538C

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

Preview Lab → · Contrast checker → · Palette generator →

#38538C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva