#27279B#27279B

#27279B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.181 H 272.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#27279B
RGBrgb(39, 39, 155)
HSLhsl(240, 60%, 38%)
HSVhsv(240, 75%, 61%)
CMYKcmyk(74.8%, 74.8%, 0%, 39.2%)
CIE-LABlab(24.48, 39.77, -62.39)
CIE-LCHlch(24.48, 73.99, 302.52°)
OKLaboklab(36.58% 0.0093 -0.1805)
OKLCHoklch(36.58% 0.181 272.9)
XYZxyz(7.4766, 4.2482, 31.4299)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27279B #9B9B27
analogous
#27619B #27279B #61279B
triadic
#27279B #9B2727 #279B27
tetradic
#27279B #9B2761 #9B9B27 #279B61
square
#27279B #9B2761 #9B9B27 #279B61
split-complementary
#27279B #9B6127 #619B27
monochromatic
#0E0E39 #1B1B6A #27279B #3333CC #6464D8

Accessibility & contrast

On white

11.35
#27279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#27279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27279B
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27279B#FFFFFF#000000##FFFFFF
##27279B1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #27279b;
/* rgb */ color: rgb(39, 39, 155);
/* oklch */ color: oklch(36.6% 0.181 272.9);
Tailwind
colors: {
  custom: {
    50: '#7563ba',
    500: '#27279b',
    950: '#000000',
  },
}
SCSS
$custom: #27279b;
$custom-light: #7563ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27279b",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 240,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36581,
    "c": 0.18077,
    "h": 272.9
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#27279B
secondary
#BEBE60
accent
#E345E3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27279B

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

Preview Lab → · Contrast checker → · Palette generator →

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