#27167D#27167D

#27167D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.160 H 279.1°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#27167D
RGBrgb(39, 22, 125)
HSLhsl(250, 70%, 29%)
HSVhsv(250, 82%, 49%)
CMYKcmyk(68.8%, 82.4%, 0%, 51%)
CIE-LABlab(17.85, 39.21, -54.61)
CIE-LCHlch(17.85, 67.22, 305.68°)
OKLaboklab(30.94% 0.0251 -0.1577)
OKLCHoklch(30.94% 0.16 279.1)
XYZxyz(4.8241, 2.4854, 19.6236)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27167D #6C7D16
analogous
#16397D #27167D #5B167D
triadic
#27167D #7D2716 #167D27
tetradic
#27167D #7D1639 #6C7D16 #167D5B
square
#27167D #7D1639 #6C7D16 #167D5B
split-complementary
#27167D #7D5B16 #397D16
monochromatic
#08051A #170D49 #27167D #371FB1 #4E32DB

Accessibility & contrast

On white

14.03
#27167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#27167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27167D
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27167D#FFFFFF#000000##FFFFFF
##27167D1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F80
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #27167d;
/* rgb */ color: rgb(39, 22, 125);
/* oklch */ color: oklch(30.9% 0.160 279.1);
Tailwind
colors: {
  custom: {
    50: '#6f57a4',
    500: '#27167d',
    950: '#000000',
  },
}
SCSS
$custom: #27167d;
$custom-light: #6f57a4;
$custom-dark: #000000;
JSON
{
  "hex": "#27167d",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 249.903,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30935,
    "c": 0.15968,
    "h": 279.1
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#27167D
secondary
#9FB23D
accent
#ED3BCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #27167D

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

Preview Lab → · Contrast checker → · Palette generator →

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