#38488D#38488D

#38488D is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.6% C 0.115 H 271.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#38488D
RGBrgb(56, 72, 141)
HSLhsl(229, 43%, 39%)
HSVhsv(229, 60%, 55%)
CMYKcmyk(60.3%, 48.9%, 0%, 44.7%)
CIE-LABlab(32.70, 15.91, -40.38)
CIE-LCHlch(32.70, 43.40, 291.50°)
OKLaboklab(42.57% 0.002 -0.1153)
OKLCHoklch(42.57% 0.115 271)
XYZxyz(8.7544, 7.3979, 26.1607)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38488D #8D7D38
analogous
#38728D #38488D #52388D
triadic
#38488D #8D3848 #488D38
tetradic
#38488D #8D3872 #8D7D38 #388D52
square
#38488D #8D3872 #8D7D38 #388D52
split-complementary
#38488D #8D5238 #728D38
monochromatic
#151B35 #273261 #38488D #4B5FB7 #7786C9

Accessibility & contrast

On white

8.47
#38488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#38488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38488D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38488D#FFFFFF#000000##FFFFFF
##38488D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#19498C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #38488d;
/* rgb */ color: rgb(56, 72, 141);
/* oklch */ color: oklch(42.6% 0.115 271.0);
Tailwind
colors: {
  custom: {
    50: '#767aaf',
    500: '#38488d',
    950: '#000000',
  },
}
SCSS
$custom: #38488d;
$custom-light: #767aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#38488d",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 228.706,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.11533,
    "h": 271
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#38488D
secondary
#B2A56F
accent
#BB55D3
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38488D

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

Preview Lab → · Contrast checker → · Palette generator →

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