#27399A#27399A

#27399A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.159 H 269.5°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#27399A
RGBrgb(39, 57, 154)
HSLhsl(231, 60%, 38%)
HSVhsv(231, 75%, 60%)
CMYKcmyk(74.7%, 63%, 0%, 39.6%)
CIE-LABlab(28.62, 28.00, -54.98)
CIE-LCHlch(28.62, 61.70, 296.99°)
OKLaboklab(39.56% -0.0015 -0.1588)
OKLCHoklch(39.56% 0.159 269.5)
XYZxyz(8.1306, 5.6898, 31.2353)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27399A #9A8827
analogous
#27729A #27399A #4F279A
triadic
#27399A #9A2739 #399A27
tetradic
#27399A #9A2772 #9A8827 #279A4F
square
#27399A #9A2772 #9A8827 #279A4F
split-complementary
#27399A #9A4F27 #729A27
monochromatic
#0E1538 #1B2769 #27399A #334BCB #6476D8

Accessibility & contrast

On white

9.82
#27399A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#27399A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27399A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27399A#FFFFFF#000000##FFFFFF
##27399A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #27399a;
/* rgb */ color: rgb(39, 57, 154);
/* oklch */ color: oklch(39.6% 0.159 269.5);
Tailwind
colors: {
  custom: {
    50: '#736fb9',
    500: '#27399a',
    950: '#000000',
  },
}
SCSS
$custom: #27399a;
$custom-light: #736fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#27399a",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 154
  },
  "hsl": {
    "h": 230.609,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39556,
    "c": 0.15884,
    "h": 269.5
  },
  "luminance": 0.05691
}

Semantic roles & 50–950 ramp

primary
#27399A
secondary
#BDAF5F
accent
#CA45E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #27399A

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

Preview Lab → · Contrast checker → · Palette generator →

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