#38538D#38538D

#38538D is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.101 H 264.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#38538D
RGBrgb(56, 83, 141)
HSLhsl(221, 43%, 39%)
HSVhsv(221, 60%, 55%)
CMYKcmyk(60.3%, 41.1%, 0%, 44.7%)
CIE-LABlab(35.89, 8.64, -35.28)
CIE-LCHlch(35.89, 36.32, 283.75°)
OKLaboklab(45.02% -0.0106 -0.1002)
OKLCHoklch(45.02% 0.101 264)
XYZxyz(9.5302, 8.9496, 26.4194)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38538D #8D7238
analogous
#387D8D #38538D #47388D
triadic
#38538D #8D3853 #538D38
tetradic
#38538D #8D387D #8D7238 #388D47
square
#38538D #8D387D #8D7238 #388D47
split-complementary
#38538D #8D4738 #7D8D38
monochromatic
#151F35 #273961 #38538D #4B6DB7 #7791C9

Accessibility & contrast

On white

7.53
#38538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#38538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38538D
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38538D#FFFFFF#000000##FFFFFF
##38538D1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A598F
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #38538d;
/* rgb */ color: rgb(56, 83, 141);
/* oklch */ color: oklch(45.0% 0.101 264.0);
Tailwind
colors: {
  custom: {
    50: '#7683af',
    500: '#38538d',
    950: '#000000',
  },
}
SCSS
$custom: #38538d;
$custom-light: #7683af;
$custom-dark: #000000;
JSON
{
  "hex": "#38538d",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 220.941,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.10078,
    "h": 264
  },
  "luminance": 0.0895
}

Semantic roles & 50–950 ramp

primary
#38538D
secondary
#B29D6F
accent
#AB55D3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #38538D

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

Preview Lab → · Contrast checker → · Palette generator →

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