#38289F#38289F

#38289F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.181 H 279.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#38289F
RGBrgb(56, 40, 159)
HSLhsl(248, 60%, 39%)
HSVhsv(248, 75%, 62%)
CMYKcmyk(64.8%, 74.8%, 0%, 37.6%)
CIE-LABlab(26.33, 42.39, -61.73)
CIE-LCHlch(26.33, 74.88, 304.48°)
OKLaboklab(38.35% 0.0304 -0.1781)
OKLCHoklch(38.35% 0.181 279.7)
XYZxyz(8.6457, 4.8609, 33.2768)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38289F #8F9F28
analogous
#28549F #38289F #74289F
triadic
#38289F #9F3828 #289F38
tetradic
#38289F #9F2854 #8F9F28 #289F74
square
#38289F #9F2854 #8F9F28 #289F74
split-complementary
#38289F #9F7428 #549F28
monochromatic
#160F3D #271C6E #38289F #4B37CD #7768D9

Accessibility & contrast

On white

10.65
#38289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#38289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38289F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38289F#FFFFFF#000000##FFFFFF
##38289F1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38289f;
/* rgb */ color: rgb(56, 40, 159);
/* oklch */ color: oklch(38.3% 0.181 279.7);
Tailwind
colors: {
  custom: {
    50: '#7c64bd',
    500: '#38289f',
    950: '#000000',
  },
}
SCSS
$custom: #38289f;
$custom-light: #7c64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#38289f",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 248.067,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38345,
    "c": 0.18073,
    "h": 279.7
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#38289F
secondary
#B3BF64
accent
#E345CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #38289F

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

Preview Lab → · Contrast checker → · Palette generator →

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