#27279A#27279A

#27279A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.180 H 273.0°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#27279A
RGBrgb(39, 39, 154)
HSLhsl(240, 60%, 38%)
HSVhsv(240, 75%, 60%)
CMYKcmyk(74.7%, 74.7%, 0%, 39.6%)
CIE-LABlab(24.37, 39.43, -61.96)
CIE-LCHlch(24.37, 73.44, 302.47°)
OKLaboklab(36.47% 0.0094 -0.1793)
OKLCHoklch(36.47% 0.18 273)
XYZxyz(7.3930, 4.2147, 30.9895)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27279A #9A9A27
analogous
#27609A #27279A #60279A
triadic
#27279A #9A2727 #279A27
tetradic
#27279A #9A2760 #9A9A27 #279A60
square
#27279A #9A2760 #9A9A27 #279A60
split-complementary
#27279A #9A6027 #609A27
monochromatic
#0E0E38 #1B1B69 #27279A #3333CB #6464D8

Accessibility & contrast

On white

11.39
#27279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#27279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27279A
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27279A#FFFFFF#000000##FFFFFF
##27279A1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #27279a;
/* rgb */ color: rgb(39, 39, 154);
/* oklch */ color: oklch(36.5% 0.180 273.0);
Tailwind
colors: {
  custom: {
    50: '#7462b9',
    500: '#27279a',
    950: '#000000',
  },
}
SCSS
$custom: #27279a;
$custom-light: #7462b9;
$custom-dark: #000000;
JSON
{
  "hex": "#27279a",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 240,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36474,
    "c": 0.17951,
    "h": 273
  },
  "luminance": 0.04215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27279A

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

Preview Lab → · Contrast checker → · Palette generator →

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