#27289A#27289A

#27289A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.178 H 272.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#27289A
RGBrgb(39, 40, 154)
HSLhsl(239, 60%, 38%)
HSVhsv(239, 75%, 60%)
CMYKcmyk(74.7%, 74%, 0%, 39.6%)
CIE-LABlab(24.58, 38.84, -61.61)
CIE-LCHlch(24.58, 72.83, 302.23°)
OKLaboklab(36.62% 0.0089 -0.1782)
OKLCHoklch(36.62% 0.178 272.9)
XYZxyz(7.4263, 4.2813, 31.0006)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27289A #9A9927
analogous
#27629A #27289A #5F279A
triadic
#27289A #9A2728 #289A27
tetradic
#27289A #9A2762 #9A9927 #279A5F
square
#27289A #9A2762 #9A9927 #279A5F
split-complementary
#27289A #9A5F27 #629A27
monochromatic
#0E0F38 #1B1B69 #27289A #3335CB #6465D8

Accessibility & contrast

On white

11.31
#27289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#27289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27289A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27289A#FFFFFF#000000##FFFFFF
##27289A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #27289a;
/* rgb */ color: rgb(39, 40, 154);
/* oklch */ color: oklch(36.6% 0.178 272.9);
Tailwind
colors: {
  custom: {
    50: '#7463b9',
    500: '#27289a',
    950: '#000000',
  },
}
SCSS
$custom: #27289a;
$custom-light: #7463b9;
$custom-dark: #000000;
JSON
{
  "hex": "#27289a",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 239.478,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36624,
    "c": 0.17847,
    "h": 272.9
  },
  "luminance": 0.04282
}

Semantic roles & 50–950 ramp

primary
#27289A
secondary
#BDBD5F
accent
#E145E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #27289A

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

Preview Lab → · Contrast checker → · Palette generator →

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