#27279F#27279F

#27279F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.186 H 272.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#27279F
RGBrgb(39, 39, 159)
HSLhsl(240, 61%, 39%)
HSVhsv(240, 75%, 62%)
CMYKcmyk(75.5%, 75.5%, 0%, 37.6%)
CIE-LABlab(24.90, 41.14, -64.13)
CIE-LCHlch(24.90, 76.19, 302.68°)
OKLaboklab(37.01% 0.0085 -0.1856)
OKLCHoklch(37.01% 0.186 272.6)
XYZxyz(7.8181, 4.3848, 33.2285)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27279F #9F9F27
analogous
#27639F #27279F #63279F
triadic
#27279F #9F2727 #279F27
tetradic
#27279F #9F2763 #9F9F27 #279F63
square
#27279F #9F2763 #9F9F27 #279F63
split-complementary
#27279F #9F6327 #639F27
monochromatic
#0F0F3D #1B1B6E #27279F #3636CE #6767DA

Accessibility & contrast

On white

11.19
#27279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#27279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27279F
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27279F#FFFFFF#000000##FFFFFF
##27279F1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27279f;
/* rgb */ color: rgb(39, 39, 159);
/* oklch */ color: oklch(37.0% 0.186 272.6);
Tailwind
colors: {
  custom: {
    50: '#7663bd',
    500: '#27279f',
    950: '#000000',
  },
}
SCSS
$custom: #27279f;
$custom-light: #7663bd;
$custom-dark: #000000;
JSON
{
  "hex": "#27279f",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 240,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37014,
    "c": 0.18578,
    "h": 272.6
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27279F

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

Preview Lab → · Contrast checker → · Palette generator →

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