#27286E#27286E

#27286E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.118 H 276.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#27286E
RGBrgb(39, 40, 110)
HSLhsl(239, 48%, 29%)
HSVhsv(239, 65%, 43%)
CMYKcmyk(64.5%, 63.6%, 0%, 56.9%)
CIE-LABlab(20.34, 23.02, -40.89)
CIE-LCHlch(20.34, 46.93, 299.38°)
OKLaboklab(32.26% 0.0141 -0.1176)
OKLCHoklch(32.26% 0.118 276.8)
XYZxyz(4.4091, 3.0744, 15.1099)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27286E #6E6D27
analogous
#274C6E #27286E #4A276E
triadic
#27286E #6E2728 #286E27
tetradic
#27286E #6E274C #6E6D27 #276E4A
square
#27286E #6E274C #6E6D27 #276E4A
split-complementary
#27286E #6E4A27 #4C6E27
monochromatic
#080817 #171841 #27286E #37389B #4F50C1

Accessibility & contrast

On white

13.00
#27286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#27286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27286E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27286E#FFFFFF#000000##FFFFFF
##27286E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #27286e;
/* rgb */ color: rgb(39, 40, 110);
/* oklch */ color: oklch(32.3% 0.118 276.8);
Tailwind
colors: {
  custom: {
    50: '#6a6298',
    500: '#27286e',
    950: '#000000',
  },
}
SCSS
$custom: #27286e;
$custom-light: #6a6298;
$custom-dark: #000000;
JSON
{
  "hex": "#27286e",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 239.155,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3226,
    "c": 0.11847,
    "h": 276.8
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

primary
#27286E
secondary
#A19F50
accent
#D551D7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #27286E

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

Preview Lab → · Contrast checker → · Palette generator →

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