#38279B#38279B

#38279B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.177 H 280.4°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#38279B
RGBrgb(56, 39, 155)
HSLhsl(249, 60%, 38%)
HSVhsv(249, 75%, 61%)
CMYKcmyk(63.9%, 74.8%, 0%, 39.2%)
CIE-LABlab(25.74, 41.67, -60.27)
CIE-LCHlch(25.74, 73.27, 304.66°)
OKLaboklab(37.8% 0.032 -0.1739)
OKLCHoklch(37.8% 0.177 280.4)
XYZxyz(8.2709, 4.6577, 31.4672)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38279B #8A9B27
analogous
#27509B #38279B #72279B
triadic
#38279B #9B3827 #279B38
tetradic
#38279B #9B2750 #8A9B27 #279B72
square
#38279B #9B2750 #8A9B27 #279B72
split-complementary
#38279B #9B7227 #509B27
monochromatic
#150E39 #261B6A #38279B #4A33CC #7564D8

Accessibility & contrast

On white

10.87
#38279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#38279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38279B
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38279B#FFFFFF#000000##FFFFFF
##38279B1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38279b;
/* rgb */ color: rgb(56, 39, 155);
/* oklch */ color: oklch(37.8% 0.177 280.4);
Tailwind
colors: {
  custom: {
    50: '#7c63ba',
    500: '#38279b',
    950: '#000000',
  },
}
SCSS
$custom: #38279b;
$custom-light: #7c63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#38279b",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 248.793,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37801,
    "c": 0.17681,
    "h": 280.4
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#38279B
secondary
#B0BE60
accent
#E345CC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #38279B

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

Preview Lab → · Contrast checker → · Palette generator →

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