#27177B#27177B

#27177B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.156 H 279.3°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#27177B
RGBrgb(39, 23, 123)
HSLhsl(250, 68%, 29%)
HSVhsv(250, 81%, 48%)
CMYKcmyk(68.3%, 81.3%, 0%, 51.8%)
CIE-LABlab(17.80, 38.06, -53.42)
CIE-LCHlch(17.80, 65.59, 305.47°)
OKLaboklab(30.83% 0.0252 -0.1542)
OKLCHoklch(30.83% 0.156 279.3)
XYZxyz(4.7171, 2.4738, 18.9640)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27177B #6B7B17
analogous
#17397B #27177B #59177B
triadic
#27177B #7B2717 #177B27
tetradic
#27177B #7B1739 #6B7B17 #177B59
square
#27177B #7B1739 #6B7B17 #177B59
split-complementary
#27177B #7B5917 #397B17
monochromatic
#08051A #170D47 #27177B #3721AF #4E33D9

Accessibility & contrast

On white

14.05
#27177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#27177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27177B
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27177B#FFFFFF#000000##FFFFFF
##27177B1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #27177b;
/* rgb */ color: rgb(39, 23, 123);
/* oklch */ color: oklch(30.8% 0.156 279.3);
Tailwind
colors: {
  custom: {
    50: '#6e57a2',
    500: '#27177b',
    950: '#000000',
  },
}
SCSS
$custom: #27177b;
$custom-light: #6e57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#27177b",
  "rgb": {
    "r": 39,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 249.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3083,
    "c": 0.15629,
    "h": 279.3
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#27177B
secondary
#9EB03E
accent
#EB3CCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #27177B

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

Preview Lab → · Contrast checker → · Palette generator →

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