#38279A#38279A

#38279A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.176 H 280.6°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#38279A
RGBrgb(56, 39, 154)
HSLhsl(249, 60%, 38%)
HSVhsv(249, 75%, 60%)
CMYKcmyk(63.6%, 74.7%, 0%, 39.6%)
CIE-LABlab(25.64, 41.35, -59.82)
CIE-LCHlch(25.64, 72.72, 304.65°)
OKLaboklab(37.7% 0.0322 -0.1726)
OKLCHoklch(37.7% 0.176 280.6)
XYZxyz(8.1873, 4.6243, 31.0267)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38279A #899A27
analogous
#274F9A #38279A #72279A
triadic
#38279A #9A3827 #279A38
tetradic
#38279A #9A274F #899A27 #279A72
square
#38279A #9A274F #899A27 #279A72
split-complementary
#38279A #9A7227 #4F9A27
monochromatic
#140E38 #261B69 #38279A #4A33CB #7564D8

Accessibility & contrast

On white

10.91
#38279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38279A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38279A#FFFFFF#000000##FFFFFF
##38279A1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #38279a;
/* rgb */ color: rgb(56, 39, 154);
/* oklch */ color: oklch(37.7% 0.176 280.6);
Tailwind
colors: {
  custom: {
    50: '#7b63b9',
    500: '#38279a',
    950: '#000000',
  },
}
SCSS
$custom: #38279a;
$custom-light: #7b63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#38279a",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 248.87,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37699,
    "c": 0.17557,
    "h": 280.6
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#38279A
secondary
#AFBD5F
accent
#E345CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #38279A

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

Preview Lab → · Contrast checker → · Palette generator →

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