#27399C#27399C

#27399C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.162 H 269.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#27399C
RGBrgb(39, 57, 156)
HSLhsl(231, 60%, 38%)
HSVhsv(231, 75%, 61%)
CMYKcmyk(75%, 63.5%, 0%, 38.8%)
CIE-LABlab(28.79, 28.75, -55.91)
CIE-LCHlch(28.79, 62.87, 297.21°)
OKLaboklab(39.74% -0.0015 -0.1616)
OKLCHoklch(39.74% 0.162 269.5)
XYZxyz(8.2985, 5.7570, 32.1199)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27399C #9C8A27
analogous
#27739C #27399C #4F279C
triadic
#27399C #9C2739 #399C27
tetradic
#27399C #9C2773 #9C8A27 #279C4F
square
#27399C #9C2773 #9C8A27 #279C4F
split-complementary
#27399C #9C4F27 #739C27
monochromatic
#0F153A #1B276B #27399C #344BCC #6577D8

Accessibility & contrast

On white

9.76
#27399C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#27399C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27399C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27399C#FFFFFF#000000##FFFFFF
##27399C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #27399c;
/* rgb */ color: rgb(39, 57, 156);
/* oklch */ color: oklch(39.7% 0.162 269.5);
Tailwind
colors: {
  custom: {
    50: '#736fba',
    500: '#27399c',
    950: '#000000',
  },
}
SCSS
$custom: #27399c;
$custom-light: #736fba;
$custom-dark: #000000;
JSON
{
  "hex": "#27399c",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 156
  },
  "hsl": {
    "h": 230.769,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3974,
    "c": 0.16157,
    "h": 269.5
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#27399C
secondary
#BEB061
accent
#CB45E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #27399C

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

Preview Lab → · Contrast checker → · Palette generator →

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