#27168E#27168E

#27168E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.180 H 276.3°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#27168E
RGBrgb(39, 22, 142)
HSLhsl(249, 73%, 32%)
HSVhsv(249, 85%, 56%)
CMYKcmyk(72.5%, 84.5%, 0%, 44.3%)
CIE-LABlab(19.87, 44.51, -61.97)
CIE-LCHlch(19.87, 76.30, 305.69°)
OKLaboklab(32.92% 0.0199 -0.1791)
OKLCHoklch(32.92% 0.18 276.3)
XYZxyz(6.0045, 2.9576, 25.8404)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27168E #7D8E16
analogous
#16418E #27168E #63168E
triadic
#27168E #8E2716 #168E27
tetradic
#27168E #8E1641 #7D8E16 #168E63
square
#27168E #8E1641 #7D8E16 #168E63
split-complementary
#27168E #8E6316 #418E16
monochromatic
#0A0624 #180E59 #27168E #361EC3 #553DE1

Accessibility & contrast

On white

13.19
#27168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#27168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27168E
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27168E#FFFFFF#000000##FFFFFF
##27168E1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27168e;
/* rgb */ color: rgb(39, 22, 142);
/* oklch */ color: oklch(32.9% 0.180 276.3);
Tailwind
colors: {
  custom: {
    50: '#7358b0',
    500: '#27168e',
    950: '#000000',
  },
}
SCSS
$custom: #27168e;
$custom-light: #7358b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27168e",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 248.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32923,
    "c": 0.18021,
    "h": 276.3
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#27168E
secondary
#AFC13F
accent
#F038D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #27168E

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

Preview Lab → · Contrast checker → · Palette generator →

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