#27389E#27389E

#27389E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.166 H 269.7°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#27389E
RGBrgb(39, 56, 158)
HSLhsl(231, 60%, 39%)
HSVhsv(231, 75%, 62%)
CMYKcmyk(75.3%, 64.6%, 0%, 38%)
CIE-LABlab(28.71, 30.16, -57.25)
CIE-LCHlch(28.71, 64.71, 297.78°)
OKLaboklab(39.74% -0.0009 -0.1655)
OKLCHoklch(39.74% 0.166 269.7)
XYZxyz(8.4203, 5.7274, 33.0029)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27389E #9E8D27
analogous
#27739E #27389E #51279E
triadic
#27389E #9E2738 #389E27
tetradic
#27389E #9E2773 #9E8D27 #279E51
square
#27389E #9E2773 #9E8D27 #279E51
split-complementary
#27389E #9E5127 #739E27
monochromatic
#0F153C #1B276D #27389E #354BCD #6677D9

Accessibility & contrast

On white

9.79
#27389E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#27389E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27389E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27389E#FFFFFF#000000##FFFFFF
##27389E1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #27389e;
/* rgb */ color: rgb(39, 56, 158);
/* oklch */ color: oklch(39.7% 0.166 269.7);
Tailwind
colors: {
  custom: {
    50: '#746ebc',
    500: '#27389e',
    950: '#000000',
  },
}
SCSS
$custom: #27389e;
$custom-light: #746ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#27389e",
  "rgb": {
    "r": 39,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 231.429,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39738,
    "c": 0.1655,
    "h": 269.7
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#27389E
secondary
#BFB262
accent
#CD44E4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #27389E

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

Preview Lab → · Contrast checker → · Palette generator →

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