#38279E#38279E

#38279E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.181 H 280.0°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#38279E
RGBrgb(56, 39, 158)
HSLhsl(249, 60%, 39%)
HSVhsv(249, 75%, 62%)
CMYKcmyk(64.6%, 75.3%, 0%, 38%)
CIE-LABlab(26.04, 42.62, -61.60)
CIE-LCHlch(26.04, 74.91, 304.68°)
OKLaboklab(38.1% 0.0313 -0.1778)
OKLCHoklch(38.1% 0.181 280)
XYZxyz(8.5260, 4.7597, 32.8105)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38279E #8D9E27
analogous
#27519E #38279E #73279E
triadic
#38279E #9E3827 #279E38
tetradic
#38279E #9E2751 #8D9E27 #279E73
square
#38279E #9E2751 #8D9E27 #279E73
split-complementary
#38279E #9E7327 #519E27
monochromatic
#150F3C #271B6D #38279E #4B35CD #7766D9

Accessibility & contrast

On white

10.76
#38279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#38279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38279E
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38279E#FFFFFF#000000##FFFFFF
##38279E1.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)
#0042A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38279e;
/* rgb */ color: rgb(56, 39, 158);
/* oklch */ color: oklch(38.1% 0.181 280.0);
Tailwind
colors: {
  custom: {
    50: '#7c64bc',
    500: '#38279e',
    950: '#000000',
  },
}
SCSS
$custom: #38279e;
$custom-light: #7c64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#38279e",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 248.571,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38105,
    "c": 0.18052,
    "h": 280
  },
  "luminance": 0.0476
}

Semantic roles & 50–950 ramp

primary
#38279E
secondary
#B2BF62
accent
#E444CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #38279E

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

Preview Lab → · Contrast checker → · Palette generator →

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