#27276A#27276A

#27276A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.7% C 0.114 H 277.7°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#27276A
RGBrgb(39, 39, 106)
HSLhsl(240, 46%, 28%)
HSVhsv(240, 63%, 42%)
CMYKcmyk(63.2%, 63.2%, 0%, 58.4%)
CIE-LABlab(19.73, 22.23, -39.29)
CIE-LCHlch(19.73, 45.14, 299.51°)
OKLaboklab(31.71% 0.0153 -0.1129)
OKLCHoklch(31.71% 0.114 277.7)
XYZxyz(4.1629, 2.9227, 13.9776)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27276A #6A6A27
analogous
#27486A #27276A #48276A
triadic
#27276A #6A2727 #276A27
tetradic
#27276A #6A2748 #6A6A27 #276A48
square
#27276A #6A2748 #6A6A27 #276A48
split-complementary
#27276A #6A4827 #486A27
monochromatic
#080816 #17173D #27276A #373797 #4E4EBE

Accessibility & contrast

On white

13.25
#27276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#27276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27276A
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27276A#FFFFFF#000000##FFFFFF
##27276A1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27276a;
/* rgb */ color: rgb(39, 39, 106);
/* oklch */ color: oklch(31.7% 0.114 277.7);
Tailwind
colors: {
  custom: {
    50: '#696195',
    500: '#27276a',
    950: '#000000',
  },
}
SCSS
$custom: #27276a;
$custom-light: #696195;
$custom-dark: #000000;
JSON
{
  "hex": "#27276a",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 240,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31705,
    "c": 0.11395,
    "h": 277.7
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#27276A
secondary
#9D9D50
accent
#D652D6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #27276A

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

Preview Lab → · Contrast checker → · Palette generator →

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