#27167F#27167F

#27167F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.162 H 278.7°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#27167F
RGBrgb(39, 22, 127)
HSLhsl(250, 70%, 29%)
HSVhsv(250, 83%, 50%)
CMYKcmyk(69.3%, 82.7%, 0%, 50.2%)
CIE-LABlab(18.09, 39.84, -55.49)
CIE-LCHlch(18.09, 68.31, 305.68°)
OKLaboklab(31.17% 0.0245 -0.1603)
OKLCHoklch(31.17% 0.162 278.7)
XYZxyz(4.9531, 2.5370, 20.3032)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27167F #6E7F16
analogous
#163A7F #27167F #5C167F
triadic
#27167F #7F2716 #167F27
tetradic
#27167F #7F163A #6E7F16 #167F5C
square
#27167F #7F163A #6E7F16 #167F5C
split-complementary
#27167F #7F5C16 #3A7F16
monochromatic
#08051A #170D4B #27167F #371FB3 #4F34DC

Accessibility & contrast

On white

13.93
#27167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#27167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27167F
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27167F#FFFFFF#000000##FFFFFF
##27167F1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #27167f;
/* rgb */ color: rgb(39, 22, 127);
/* oklch */ color: oklch(31.2% 0.162 278.7);
Tailwind
colors: {
  custom: {
    50: '#6f57a5',
    500: '#27167f',
    950: '#000000',
  },
}
SCSS
$custom: #27167f;
$custom-light: #6f57a5;
$custom-dark: #000000;
JSON
{
  "hex": "#27167f",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 249.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31165,
    "c": 0.16214,
    "h": 278.7
  },
  "luminance": 0.02537
}

Semantic roles & 50–950 ramp

primary
#27167F
secondary
#A1B43D
accent
#ED3BD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #27167F

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

Preview Lab → · Contrast checker → · Palette generator →

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