#27168C#27168C

#27168C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.178 H 276.6°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#27168C
RGBrgb(39, 22, 140)
HSLhsl(249, 73%, 32%)
HSVhsv(249, 84%, 55%)
CMYKcmyk(72.1%, 84.3%, 0%, 45.1%)
CIE-LABlab(19.63, 43.89, -61.13)
CIE-LCHlch(19.63, 75.26, 305.68°)
OKLaboklab(32.69% 0.0205 -0.1766)
OKLCHoklch(32.69% 0.178 276.6)
XYZxyz(5.8557, 2.8981, 25.0566)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27168C #7B8C16
analogous
#16408C #27168C #62168C
triadic
#27168C #8C2716 #168C27
tetradic
#27168C #8C1640 #7B8C16 #168C62
square
#27168C #8C1640 #7B8C16 #168C62
split-complementary
#27168C #8C6216 #408C16
monochromatic
#0A0522 #180E57 #27168C #361EC1 #543CE0

Accessibility & contrast

On white

13.29
#27168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#27168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27168C
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27168C#FFFFFF#000000##FFFFFF
##27168C1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#002A8A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27168c;
/* rgb */ color: rgb(39, 22, 140);
/* oklch */ color: oklch(32.7% 0.178 276.6);
Tailwind
colors: {
  custom: {
    50: '#7258af',
    500: '#27168c',
    950: '#000000',
  },
}
SCSS
$custom: #27168c;
$custom-light: #7258af;
$custom-dark: #000000;
JSON
{
  "hex": "#27168c",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 248.644,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32686,
    "c": 0.17783,
    "h": 276.6
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#27168C
secondary
#ADC03E
accent
#F038D5
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #27168C

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

Preview Lab → · Contrast checker → · Palette generator →

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