#38279F#38279F

#38279F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.182 H 279.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#38279F
RGBrgb(56, 39, 159)
HSLhsl(249, 61%, 39%)
HSVhsv(249, 75%, 62%)
CMYKcmyk(64.8%, 75.5%, 0%, 37.6%)
CIE-LABlab(26.14, 42.94, -62.05)
CIE-LCHlch(26.14, 75.45, 304.68°)
OKLaboklab(38.21% 0.0311 -0.1791)
OKLCHoklch(38.21% 0.182 279.8)
XYZxyz(8.6124, 4.7943, 33.2657)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38279F #8E9F27
analogous
#27529F #38279F #74279F
triadic
#38279F #9F3827 #279F38
tetradic
#38279F #9F2752 #8E9F27 #279F74
square
#38279F #9F2752 #8E9F27 #279F74
split-complementary
#38279F #9F7427 #529F27
monochromatic
#150F3D #271B6E #38279F #4B36CE #7767DA

Accessibility & contrast

On white

10.72
#38279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#38279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38279F
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38279F#FFFFFF#000000##FFFFFF
##38279F1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #38279f;
/* rgb */ color: rgb(56, 39, 159);
/* oklch */ color: oklch(38.2% 0.182 279.8);
Tailwind
colors: {
  custom: {
    50: '#7d64bd',
    500: '#38279f',
    950: '#000000',
  },
}
SCSS
$custom: #38279f;
$custom-light: #7d64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#38279f",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 248.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38208,
    "c": 0.18175,
    "h": 279.8
  },
  "luminance": 0.04795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38279F

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

Preview Lab → · Contrast checker → · Palette generator →

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