#27279C#27279C

#27279C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.182 H 272.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#27279C
RGBrgb(39, 39, 156)
HSLhsl(240, 60%, 38%)
HSVhsv(240, 75%, 61%)
CMYKcmyk(75%, 75%, 0%, 38.8%)
CIE-LABlab(24.58, 40.12, -62.83)
CIE-LCHlch(24.58, 74.54, 302.56°)
OKLaboklab(36.69% 0.0091 -0.1818)
OKLCHoklch(36.69% 0.182 272.9)
XYZxyz(7.5610, 4.2819, 31.8741)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27279C #9C9C27
analogous
#27619C #27279C #61279C
triadic
#27279C #9C2727 #279C27
tetradic
#27279C #9C2761 #9C9C27 #279C61
square
#27279C #9C2761 #9C9C27 #279C61
split-complementary
#27279C #9C6127 #619C27
monochromatic
#0F0F3A #1B1B6B #27279C #3434CC #6565D8

Accessibility & contrast

On white

11.31
#27279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#27279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27279C
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27279C#FFFFFF#000000##FFFFFF
##27279C1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #27279c;
/* rgb */ color: rgb(39, 39, 156);
/* oklch */ color: oklch(36.7% 0.182 272.9);
Tailwind
colors: {
  custom: {
    50: '#7563ba',
    500: '#27279c',
    950: '#000000',
  },
}
SCSS
$custom: #27279c;
$custom-light: #7563ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27279c",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 240,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36689,
    "c": 0.18203,
    "h": 272.9
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#27279C
secondary
#BEBE61
accent
#E345E3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27279C

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

Preview Lab → · Contrast checker → · Palette generator →

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