#38488C#38488C

#38488C is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.5% C 0.114 H 270.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#38488C
RGBrgb(56, 72, 140)
HSLhsl(229, 43%, 38%)
HSVhsv(229, 60%, 55%)
CMYKcmyk(60%, 48.6%, 0%, 45.1%)
CIE-LABlab(32.63, 15.55, -39.87)
CIE-LCHlch(32.63, 42.79, 291.31°)
OKLaboklab(42.5% 0.0018 -0.1138)
OKLCHoklch(42.5% 0.114 270.9)
XYZxyz(8.6803, 7.3683, 25.7706)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38488C #8C7C38
analogous
#38728C #38488C #52388C
triadic
#38488C #8C3848 #488C38
tetradic
#38488C #8C3872 #8C7C38 #388C52
square
#38488C #8C3872 #8C7C38 #388C52
split-complementary
#38488C #8C5238 #728C38
monochromatic
#151B35 #273260 #38488C #4A5FB7 #7686C8

Accessibility & contrast

On white

8.49
#38488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#38488C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38488C
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38488C#FFFFFF#000000##FFFFFF
##38488C1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27518F
Deuteranopia (green-blind)
#1A498B
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #38488c;
/* rgb */ color: rgb(56, 72, 140);
/* oklch */ color: oklch(42.5% 0.114 270.9);
Tailwind
colors: {
  custom: {
    50: '#767aae',
    500: '#38488c',
    950: '#000000',
  },
}
SCSS
$custom: #38488c;
$custom-light: #767aae;
$custom-dark: #000000;
JSON
{
  "hex": "#38488c",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 228.571,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42499,
    "c": 0.11382,
    "h": 270.9
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#38488C
secondary
#B1A56F
accent
#BB55D3
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #38488C

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

Preview Lab → · Contrast checker → · Palette generator →

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