#27286F#27286F

#27286F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.120 H 276.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#27286F
RGBrgb(39, 40, 111)
HSLhsl(239, 48%, 29%)
HSVhsv(239, 65%, 44%)
CMYKcmyk(64.9%, 64%, 0%, 56.5%)
CIE-LABlab(20.43, 23.39, -41.40)
CIE-LCHlch(20.43, 47.55, 299.47°)
OKLaboklab(32.35% 0.0141 -0.1191)
OKLCHoklch(32.35% 0.12 276.7)
XYZxyz(4.4638, 3.0963, 15.3983)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27286F #6F6E27
analogous
#274C6F #27286F #4A276F
triadic
#27286F #6F2728 #286F27
tetradic
#27286F #6F274C #6F6E27 #276F4A
square
#27286F #6F274C #6F6E27 #276F4A
split-complementary
#27286F #6F4A27 #4C6F27
monochromatic
#080817 #171842 #27286F #37389C #4F51C1

Accessibility & contrast

On white

12.97
#27286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27286F
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27286F#FFFFFF#000000##FFFFFF
##27286F1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #27286f;
/* rgb */ color: rgb(39, 40, 111);
/* oklch */ color: oklch(32.4% 0.120 276.7);
Tailwind
colors: {
  custom: {
    50: '#6a6299',
    500: '#27286f',
    950: '#000000',
  },
}
SCSS
$custom: #27286f;
$custom-light: #6a6299;
$custom-dark: #000000;
JSON
{
  "hex": "#27286f",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 239.167,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3235,
    "c": 0.11995,
    "h": 276.7
  },
  "luminance": 0.03097
}

Semantic roles & 50–950 ramp

primary
#27286F
secondary
#A2A050
accent
#D650D8
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #27286F

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

Preview Lab → · Contrast checker → · Palette generator →

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