#27399E#27399E

#27399E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.164 H 269.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#27399E
RGBrgb(39, 57, 158)
HSLhsl(231, 60%, 39%)
HSVhsv(231, 75%, 62%)
CMYKcmyk(75.3%, 63.9%, 0%, 38%)
CIE-LABlab(28.97, 29.50, -56.84)
CIE-LCHlch(28.97, 64.04, 297.43°)
OKLaboklab(39.92% -0.0016 -0.1643)
OKLCHoklch(39.92% 0.164 269.4)
XYZxyz(8.4693, 5.8253, 33.0192)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27399E #9E8C27
analogous
#27749E #27399E #50279E
triadic
#27399E #9E2739 #399E27
tetradic
#27399E #9E2774 #9E8C27 #279E50
square
#27399E #9E2774 #9E8C27 #279E50
split-complementary
#27399E #9E5027 #749E27
monochromatic
#0F163C #1B276D #27399E #354CCD #6678D9

Accessibility & contrast

On white

9.70
#27399E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#27399E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27399E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27399E#FFFFFF#000000##FFFFFF
##27399E1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #27399e;
/* rgb */ color: rgb(39, 57, 158);
/* oklch */ color: oklch(39.9% 0.164 269.4);
Tailwind
colors: {
  custom: {
    50: '#746fbc',
    500: '#27399e',
    950: '#000000',
  },
}
SCSS
$custom: #27399e;
$custom-light: #746fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#27399e",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 230.924,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39924,
    "c": 0.16429,
    "h": 269.4
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#27399E
secondary
#BFB162
accent
#CB44E4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #27399E

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

Preview Lab → · Contrast checker → · Palette generator →

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