#27319D#27319D

#27319D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.172 H 271.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#27319D
RGBrgb(39, 49, 157)
HSLhsl(235, 60%, 38%)
HSVhsv(235, 75%, 62%)
CMYKcmyk(75.2%, 68.8%, 0%, 38.4%)
CIE-LABlab(26.91, 34.34, -59.61)
CIE-LCHlch(26.91, 68.79, 299.95°)
OKLaboklab(38.39% 0.0036 -0.1724)
OKLCHoklch(38.39% 0.172 271.2)
XYZxyz(8.0188, 5.0614, 32.4461)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27319D #9D9327
analogous
#276C9D #27319D #58279D
triadic
#27319D #9D2731 #319D27
tetradic
#27319D #9D276C #9D9327 #279D58
square
#27319D #9D276C #9D9327 #279D58
split-complementary
#27319D #9D5827 #6C9D27
monochromatic
#0F123B #1B226C #27319D #3541CD #666FD9

Accessibility & contrast

On white

10.44
#27319D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#27319D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27319D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27319D#FFFFFF#000000##FFFFFF
##27319D1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003A9B
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27319d;
/* rgb */ color: rgb(39, 49, 157);
/* oklch */ color: oklch(38.4% 0.172 271.2);
Tailwind
colors: {
  custom: {
    50: '#7469bb',
    500: '#27319d',
    950: '#000000',
  },
}
SCSS
$custom: #27319d;
$custom-light: #7469bb;
$custom-dark: #000000;
JSON
{
  "hex": "#27319d",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 234.915,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38391,
    "c": 0.17247,
    "h": 271.2
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#27319D
secondary
#BFB761
accent
#D644E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #27319D

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

Preview Lab → · Contrast checker → · Palette generator →

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