#27179F#27179F

#27179F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 35.1% C 0.199 H 274.1°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#27179F
RGBrgb(39, 23, 159)
HSLhsl(247, 75%, 36%)
HSVhsv(247, 86%, 62%)
CMYKcmyk(75.5%, 85.5%, 0%, 37.6%)
CIE-LABlab(22.11, 49.22, -68.75)
CIE-LCHlch(22.11, 84.55, 305.60°)
OKLaboklab(35.06% 0.0144 -0.1988)
OKLCHoklch(35.06% 0.199 274.1)
XYZxyz(7.3990, 3.5466, 33.0888)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27179F #8F9F17
analogous
#174B9F #27179F #6B179F
triadic
#27179F #9F2717 #179F27
tetradic
#27179F #9F174B #8F9F17 #179F6B
square
#27179F #9F174B #8F9F17 #179F6B
split-complementary
#27179F #9F6B17 #4B9F17
monochromatic
#0D0834 #1A0F6A #27179F #341FD4 #5D4BE5

Accessibility & contrast

On white

12.29
#27179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#27179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27179F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27179F#FFFFFF#000000##FFFFFF
##27179F1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #27179f;
/* rgb */ color: rgb(39, 23, 159);
/* oklch */ color: oklch(35.1% 0.199 274.1);
Tailwind
colors: {
  custom: {
    50: '#775abd',
    500: '#27179f',
    950: '#000000',
  },
}
SCSS
$custom: #27179f;
$custom-light: #775abd;
$custom-dark: #000000;
JSON
{
  "hex": "#27179f",
  "rgb": {
    "r": 39,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 247.059,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35064,
    "c": 0.19929,
    "h": 274.1
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#27179F
secondary
#B8C74B
accent
#F136DB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #27179F

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

Preview Lab → · Contrast checker → · Palette generator →

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