#27179E#27179E

#27179E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.198 H 274.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#27179E
RGBrgb(39, 23, 158)
HSLhsl(247, 75%, 35%)
HSVhsv(247, 85%, 62%)
CMYKcmyk(75.3%, 85.4%, 0%, 38%)
CIE-LABlab(21.99, 48.92, -68.35)
CIE-LCHlch(21.99, 84.05, 305.59°)
OKLaboklab(34.94% 0.0147 -0.1976)
OKLCHoklch(34.94% 0.198 274.2)
XYZxyz(7.3126, 3.5120, 32.6336)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27179E #8E9E17
analogous
#174A9E #27179E #6A179E
triadic
#27179E #9E2717 #179E27
tetradic
#27179E #9E174A #8E9E17 #179E6A
square
#27179E #9E174A #8E9E17 #179E6A
split-complementary
#27179E #9E6A17 #4A9E17
monochromatic
#0D0733 #1A0F69 #27179E #341FD3 #5D4BE5

Accessibility & contrast

On white

12.33
#27179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#27179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27179E
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27179E#FFFFFF#000000##FFFFFF
##27179E1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #27179e;
/* rgb */ color: rgb(39, 23, 158);
/* oklch */ color: oklch(34.9% 0.198 274.2);
Tailwind
colors: {
  custom: {
    50: '#775abc',
    500: '#27179e',
    950: '#000000',
  },
}
SCSS
$custom: #27179e;
$custom-light: #775abc;
$custom-dark: #000000;
JSON
{
  "hex": "#27179e",
  "rgb": {
    "r": 39,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 247.111,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34943,
    "c": 0.19814,
    "h": 274.2
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#27179E
secondary
#B8C64A
accent
#F137DB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #27179E

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

Preview Lab → · Contrast checker → · Palette generator →

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