#27279E#27279E

#27279E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.185 H 272.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#27279E
RGBrgb(39, 39, 158)
HSLhsl(240, 60%, 39%)
HSVhsv(240, 75%, 62%)
CMYKcmyk(75.3%, 75.3%, 0%, 38%)
CIE-LABlab(24.80, 40.80, -63.70)
CIE-LCHlch(24.80, 75.64, 302.64°)
OKLaboklab(36.91% 0.0087 -0.1843)
OKLCHoklch(36.91% 0.185 272.7)
XYZxyz(7.7317, 4.3502, 32.7733)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27279E #9E9E27
analogous
#27629E #27279E #62279E
triadic
#27279E #9E2727 #279E27
tetradic
#27279E #9E2762 #9E9E27 #279E62
square
#27279E #9E2762 #9E9E27 #279E62
split-complementary
#27279E #9E6227 #629E27
monochromatic
#0F0F3C #1B1B6D #27279E #3535CD #6666D9

Accessibility & contrast

On white

11.23
#27279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#27279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27279E
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27279E#FFFFFF#000000##FFFFFF
##27279E1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27279e;
/* rgb */ color: rgb(39, 39, 158);
/* oklch */ color: oklch(36.9% 0.185 272.7);
Tailwind
colors: {
  custom: {
    50: '#7563bc',
    500: '#27279e',
    950: '#000000',
  },
}
SCSS
$custom: #27279e;
$custom-light: #7563bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27279e",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36905,
    "c": 0.18454,
    "h": 272.7
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#27279E
secondary
#BFBF62
accent
#E444E4
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27279E

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

Preview Lab → · Contrast checker → · Palette generator →

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