#27168D#27168D

#27168D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.8% C 0.179 H 276.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#27168D
RGBrgb(39, 22, 141)
HSLhsl(249, 73%, 32%)
HSVhsv(249, 84%, 55%)
CMYKcmyk(72.3%, 84.4%, 0%, 44.7%)
CIE-LABlab(19.75, 44.20, -61.55)
CIE-LCHlch(19.75, 75.78, 305.68°)
OKLaboklab(32.8% 0.0202 -0.1779)
OKLCHoklch(32.8% 0.179 276.5)
XYZxyz(5.9298, 2.9277, 25.4467)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27168D #7C8D16
analogous
#16418D #27168D #62168D
triadic
#27168D #8D2716 #168D27
tetradic
#27168D #8D1641 #7C8D16 #168D62
square
#27168D #8D1641 #7C8D16 #168D62
split-complementary
#27168D #8D6216 #418D16
monochromatic
#0A0523 #180E58 #27168D #361EC2 #543DE1

Accessibility & contrast

On white

13.24
#27168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27168D
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27168D#FFFFFF#000000##FFFFFF
##27168D1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27168d;
/* rgb */ color: rgb(39, 22, 141);
/* oklch */ color: oklch(32.8% 0.179 276.5);
Tailwind
colors: {
  custom: {
    50: '#7358b0',
    500: '#27168d',
    950: '#000000',
  },
}
SCSS
$custom: #27168d;
$custom-light: #7358b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27168d",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 248.571,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32804,
    "c": 0.17902,
    "h": 276.5
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#27168D
secondary
#AEC13E
accent
#F038D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #27168D

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

Preview Lab → · Contrast checker → · Palette generator →

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