#38289B#38289B

#38289B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.176 H 280.3°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#38289B
RGBrgb(56, 40, 155)
HSLhsl(248, 59%, 38%)
HSVhsv(248, 74%, 61%)
CMYKcmyk(63.9%, 74.2%, 0%, 39.2%)
CIE-LABlab(25.93, 41.11, -59.94)
CIE-LCHlch(25.93, 72.69, 304.44°)
OKLaboklab(37.94% 0.0313 -0.1729)
OKLCHoklch(37.94% 0.176 280.3)
XYZxyz(8.3042, 4.7243, 31.4783)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38289B #8B9B28
analogous
#28519B #38289B #71289B
triadic
#38289B #9B3828 #289B38
tetradic
#38289B #9B2851 #8B9B28 #289B71
square
#38289B #9B2851 #8B9B28 #289B71
split-complementary
#38289B #9B7128 #519B28
monochromatic
#150F3A #261B6A #38289B #4A35CB #7666D7

Accessibility & contrast

On white

10.80
#38289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38289B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38289B#FFFFFF#000000##FFFFFF
##38289B1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #38289b;
/* rgb */ color: rgb(56, 40, 155);
/* oklch */ color: oklch(37.9% 0.176 280.3);
Tailwind
colors: {
  custom: {
    50: '#7c64ba',
    500: '#38289b',
    950: '#000000',
  },
}
SCSS
$custom: #38289b;
$custom-light: #7c64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38289b",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 248.348,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37941,
    "c": 0.17576,
    "h": 280.3
  },
  "luminance": 0.04725
}

Semantic roles & 50–950 ramp

primary
#38289B
secondary
#B1BD61
accent
#E246CC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #38289B

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

Preview Lab → · Contrast checker → · Palette generator →

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