#27279D#27279D

#27279D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.183 H 272.8°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#27279D
RGBrgb(39, 39, 157)
HSLhsl(240, 60%, 38%)
HSVhsv(240, 75%, 62%)
CMYKcmyk(75.2%, 75.2%, 0%, 38.4%)
CIE-LABlab(24.69, 40.46, -63.26)
CIE-LCHlch(24.69, 75.09, 302.60°)
OKLaboklab(36.8% 0.0089 -0.1831)
OKLCHoklch(36.8% 0.183 272.8)
XYZxyz(7.6460, 4.3159, 32.3218)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27279D #9D9D27
analogous
#27629D #27279D #62279D
triadic
#27279D #9D2727 #279D27
tetradic
#27279D #9D2762 #9D9D27 #279D62
square
#27279D #9D2762 #9D9D27 #279D62
split-complementary
#27279D #9D6227 #629D27
monochromatic
#0F0F3B #1B1B6C #27279D #3535CD #6666D9

Accessibility & contrast

On white

11.27
#27279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#27279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27279D
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27279D#FFFFFF#000000##FFFFFF
##27279D1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27279d;
/* rgb */ color: rgb(39, 39, 157);
/* oklch */ color: oklch(36.8% 0.183 272.8);
Tailwind
colors: {
  custom: {
    50: '#7563bb',
    500: '#27279d',
    950: '#000000',
  },
}
SCSS
$custom: #27279d;
$custom-light: #7563bb;
$custom-dark: #000000;
JSON
{
  "hex": "#27279d",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 240,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36797,
    "c": 0.18329,
    "h": 272.8
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#27279D
secondary
#BFBF61
accent
#E344E3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27279D

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

Preview Lab → · Contrast checker → · Palette generator →

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