#27278E#27278E

#27278E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.164 H 274.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#27278E
RGBrgb(39, 39, 142)
HSLhsl(240, 57%, 35%)
HSVhsv(240, 73%, 56%)
CMYKcmyk(72.5%, 72.5%, 0%, 44.3%)
CIE-LABlab(23.12, 35.26, -56.61)
CIE-LCHlch(23.12, 66.70, 301.92°)
OKLaboklab(35.21% 0.0115 -0.1637)
OKLCHoklch(35.21% 0.164 274)
XYZxyz(6.4431, 3.8347, 25.9866)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27278E #8E8E27
analogous
#275A8E #27278E #5A278E
triadic
#27278E #8E2727 #278E27
tetradic
#27278E #8E275A #8E8E27 #278E5A
square
#27278E #8E275A #8E8E27 #278E5A
split-complementary
#27278E #8E5A27 #5A8E27
monochromatic
#0D0D2E #1A1A5E #27278E #3434BE #5D5DD2

Accessibility & contrast

On white

11.88
#27278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#27278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27278E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27278E#FFFFFF#000000##FFFFFF
##27278E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #27278e;
/* rgb */ color: rgb(39, 39, 142);
/* oklch */ color: oklch(35.2% 0.164 274.0);
Tailwind
colors: {
  custom: {
    50: '#7162b0',
    500: '#27278e',
    950: '#000000',
  },
}
SCSS
$custom: #27278e;
$custom-light: #7162b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27278e",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35205,
    "c": 0.16409,
    "h": 274
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#27278E
secondary
#B8B859
accent
#E048E0
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #27278E

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

Preview Lab → · Contrast checker → · Palette generator →

#27278E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva