#27319E#27319E

#27319E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.174 H 271.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#27319E
RGBrgb(39, 49, 158)
HSLhsl(235, 60%, 39%)
HSVhsv(235, 75%, 62%)
CMYKcmyk(75.3%, 69%, 0%, 38%)
CIE-LABlab(27.01, 34.70, -60.06)
CIE-LCHlch(27.01, 69.36, 300.02°)
OKLaboklab(38.49% 0.0035 -0.1737)
OKLCHoklch(38.49% 0.174 271.1)
XYZxyz(8.1045, 5.0957, 32.8976)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27319E #9E9427
analogous
#276C9E #27319E #58279E
triadic
#27319E #9E2731 #319E27
tetradic
#27319E #9E276C #9E9427 #279E58
square
#27319E #9E276C #9E9427 #279E58
split-complementary
#27319E #9E5827 #6C9E27
monochromatic
#0F133C #1B226D #27319E #3542CD #6670D9

Accessibility & contrast

On white

10.40
#27319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#27319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27319E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27319E#FFFFFF#000000##FFFFFF
##27319E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27319e;
/* rgb */ color: rgb(39, 49, 158);
/* oklch */ color: oklch(38.5% 0.174 271.1);
Tailwind
colors: {
  custom: {
    50: '#7469bc',
    500: '#27319e',
    950: '#000000',
  },
}
SCSS
$custom: #27319e;
$custom-light: #7469bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27319e",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 234.958,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3849,
    "c": 0.17377,
    "h": 271.1
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#27319E
secondary
#BFB762
accent
#D644E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #27319E

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

Preview Lab → · Contrast checker → · Palette generator →

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