#27177A#27177A

#27177A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.155 H 279.5°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#27177A
RGBrgb(39, 23, 122)
HSLhsl(250, 68%, 28%)
HSVhsv(250, 81%, 48%)
CMYKcmyk(68%, 81.1%, 0%, 52.2%)
CIE-LABlab(17.69, 37.73, -52.96)
CIE-LCHlch(17.69, 65.03, 305.47°)
OKLaboklab(30.72% 0.0255 -0.1529)
OKLCHoklch(30.72% 0.155 279.5)
XYZxyz(4.6548, 2.4489, 18.6360)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27177A #6A7A17
analogous
#17387A #27177A #58177A
triadic
#27177A #7A2717 #177A27
tetradic
#27177A #7A1738 #6A7A17 #177A58
square
#27177A #7A1738 #6A7A17 #177A58
split-complementary
#27177A #7A5817 #387A17
monochromatic
#08051A #170D47 #27177A #3721AD #4E33D9

Accessibility & contrast

On white

14.10
#27177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27177A
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27177A#FFFFFF#000000##FFFFFF
##27177A1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #27177a;
/* rgb */ color: rgb(39, 23, 122);
/* oklch */ color: oklch(30.7% 0.155 279.5);
Tailwind
colors: {
  custom: {
    50: '#6e57a2',
    500: '#27177a',
    950: '#000000',
  },
}
SCSS
$custom: #27177a;
$custom-light: #6e57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#27177a",
  "rgb": {
    "r": 39,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 249.697,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30717,
    "c": 0.15504,
    "h": 279.5
  },
  "luminance": 0.02449
}

Semantic roles & 50–950 ramp

primary
#27177A
secondary
#9DAF3E
accent
#EB3DCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #27177A

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

Preview Lab → · Contrast checker → · Palette generator →

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