#38407C#38407C

#38407C is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.101 H 275.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#38407C
RGBrgb(56, 64, 124)
HSLhsl(233, 38%, 35%)
HSVhsv(233, 55%, 49%)
CMYKcmyk(54.8%, 48.4%, 0%, 51.4%)
CIE-LABlab(29.32, 15.26, -35.26)
CIE-LCHlch(29.32, 38.41, 293.40°)
OKLaboklab(39.65% 0.009 -0.1003)
OKLCHoklch(39.65% 0.101 275.1)
XYZxyz(7.1012, 5.9623, 19.8415)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38407C #7C7438
analogous
#38627C #38407C #52387C
triadic
#38407C #7C3840 #407C38
tetradic
#38407C #7C3862 #7C7438 #387C52
square
#38407C #7C3862 #7C7438 #387C52
split-complementary
#38407C #7C5238 #627C38
monochromatic
#121428 #252A52 #38407C #4B56A6 #7079BE

Accessibility & contrast

On white

9.58
#38407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#38407C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38407C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38407C#FFFFFF#000000##FFFFFF
##38407C1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#1E427B
Tritanopia (blue-blind)
#194D58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #38407c;
/* rgb */ color: rgb(56, 64, 124);
/* oklch */ color: oklch(39.6% 0.101 275.1);
Tailwind
colors: {
  custom: {
    50: '#7474a2',
    500: '#38407c',
    950: '#000000',
  },
}
SCSS
$custom: #38407c;
$custom-light: #7474a2;
$custom-dark: #000000;
JSON
{
  "hex": "#38407c",
  "rgb": {
    "r": 56,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 232.941,
    "s": 37.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39646,
    "c": 0.10075,
    "h": 275.1
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#38407C
secondary
#A7A068
accent
#C05ACE
background
#F7F7FA
surface
#EDEDF3
border
#C8C8CD
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #38407C

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

Preview Lab → · Contrast checker → · Palette generator →

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