#38279D#38279D

#38279D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.179 H 280.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#38279D
RGBrgb(56, 39, 157)
HSLhsl(249, 60%, 38%)
HSVhsv(249, 75%, 62%)
CMYKcmyk(64.3%, 75.2%, 0%, 38.4%)
CIE-LABlab(25.94, 42.30, -61.16)
CIE-LCHlch(25.94, 74.37, 304.67°)
OKLaboklab(38% 0.0315 -0.1765)
OKLCHoklch(38% 0.179 280.1)
XYZxyz(8.4403, 4.7255, 32.3591)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38279D #8C9D27
analogous
#27519D #38279D #73279D
triadic
#38279D #9D3827 #279D38
tetradic
#38279D #9D2751 #8C9D27 #279D73
square
#38279D #9D2751 #8C9D27 #279D73
split-complementary
#38279D #9D7327 #519D27
monochromatic
#150F3B #271B6C #38279D #4A35CD #7666D9

Accessibility & contrast

On white

10.80
#38279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38279D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38279D#FFFFFF#000000##FFFFFF
##38279D1.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)
#0042A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #38279d;
/* rgb */ color: rgb(56, 39, 157);
/* oklch */ color: oklch(38.0% 0.179 280.1);
Tailwind
colors: {
  custom: {
    50: '#7c64bb',
    500: '#38279d',
    950: '#000000',
  },
}
SCSS
$custom: #38279d;
$custom-light: #7c64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#38279d",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 248.644,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38004,
    "c": 0.17928,
    "h": 280.1
  },
  "luminance": 0.04726
}

Semantic roles & 50–950 ramp

primary
#38279D
secondary
#B1BF61
accent
#E344CC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #38279D

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

Preview Lab → · Contrast checker → · Palette generator →

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