#38289C#38289C

#38289C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.177 H 280.1°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#38289C
RGBrgb(56, 40, 156)
HSLhsl(248, 59%, 38%)
HSVhsv(248, 74%, 61%)
CMYKcmyk(64.1%, 74.4%, 0%, 38.8%)
CIE-LABlab(26.03, 41.43, -60.39)
CIE-LCHlch(26.03, 73.24, 304.45°)
OKLaboklab(38.04% 0.0311 -0.1743)
OKLCHoklch(38.04% 0.177 280.1)
XYZxyz(8.3885, 4.7580, 31.9224)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38289C #8C9C28
analogous
#28529C #38289C #72289C
triadic
#38289C #9C3828 #289C38
tetradic
#38289C #9C2852 #8C9C28 #289C72
square
#38289C #9C2852 #8C9C28 #289C72
split-complementary
#38289C #9C7228 #529C28
monochromatic
#150F3B #271C6B #38289C #4A36CB #7667D8

Accessibility & contrast

On white

10.76
#38289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#38289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38289C
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38289C#FFFFFF#000000##FFFFFF
##38289C1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38289c;
/* rgb */ color: rgb(56, 40, 156);
/* oklch */ color: oklch(38.0% 0.177 280.1);
Tailwind
colors: {
  custom: {
    50: '#7c64ba',
    500: '#38289c',
    950: '#000000',
  },
}
SCSS
$custom: #38289c;
$custom-light: #7c64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38289c",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 248.276,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38041,
    "c": 0.17701,
    "h": 280.1
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#38289C
secondary
#B1BE62
accent
#E245CD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #38289C

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

Preview Lab → · Contrast checker → · Palette generator →

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