#38487E#38487E

#38487E is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.092 H 269.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#38487E
RGBrgb(56, 72, 126)
HSLhsl(226, 38%, 36%)
HSVhsv(226, 56%, 49%)
CMYKcmyk(55.6%, 42.9%, 0%, 50.6%)
CIE-LABlab(31.76, 10.59, -32.60)
CIE-LCHlch(31.76, 34.28, 287.99°)
OKLaboklab(41.56% -0.0006 -0.0925)
OKLCHoklch(41.56% 0.092 269.6)
XYZxyz(7.7129, 6.9813, 20.6757)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38487E #7E6E38
analogous
#386B7E #38487E #4B387E
triadic
#38487E #7E3848 #487E38
tetradic
#38487E #7E386B #7E6E38 #387E4B
square
#38487E #7E386B #7E6E38 #387E4B
split-complementary
#38487E #7E4B38 #6B7E38
monochromatic
#121829 #253054 #38487E #4B60A8 #7183C0

Accessibility & contrast

On white

8.76
#38487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#38487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38487E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38487E#FFFFFF#000000##FFFFFF
##38487E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#15545D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38487e;
/* rgb */ color: rgb(56, 72, 126);
/* oklch */ color: oklch(41.6% 0.092 269.6);
Tailwind
colors: {
  custom: {
    50: '#747aa4',
    500: '#38487e',
    950: '#000000',
  },
}
SCSS
$custom: #38487e;
$custom-light: #747aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#38487e",
  "rgb": {
    "r": 56,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 226.286,
    "s": 38.462,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41555,
    "c": 0.09249,
    "h": 269.6
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#38487E
secondary
#A99A69
accent
#B459CE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #38487E

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

Preview Lab → · Contrast checker → · Palette generator →

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