#27289C#27289C

#27289C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.181 H 272.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#27289C
RGBrgb(39, 40, 156)
HSLhsl(239, 60%, 38%)
HSVhsv(239, 75%, 61%)
CMYKcmyk(75%, 74.4%, 0%, 38.8%)
CIE-LABlab(24.79, 39.53, -62.48)
CIE-LCHlch(24.79, 73.94, 302.32°)
OKLaboklab(36.84% 0.0086 -0.1808)
OKLCHoklch(36.84% 0.181 272.7)
XYZxyz(7.5942, 4.3484, 31.8851)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27289C #9C9B27
analogous
#27629C #27289C #60279C
triadic
#27289C #9C2728 #289C27
tetradic
#27289C #9C2762 #9C9B27 #279C60
square
#27289C #9C2762 #9C9B27 #279C60
split-complementary
#27289C #9C6027 #629C27
monochromatic
#0F0F3A #1B1B6B #27289C #3435CC #6566D8

Accessibility & contrast

On white

11.23
#27289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#27289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27289C
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27289C#FFFFFF#000000##FFFFFF
##27289C1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27289c;
/* rgb */ color: rgb(39, 40, 156);
/* oklch */ color: oklch(36.8% 0.181 272.7);
Tailwind
colors: {
  custom: {
    50: '#7563ba',
    500: '#27289c',
    950: '#000000',
  },
}
SCSS
$custom: #27289c;
$custom-light: #7563ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27289c",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 239.487,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36838,
    "c": 0.181,
    "h": 272.7
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#27289C
secondary
#BEBD61
accent
#E245E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #27289C

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

Preview Lab → · Contrast checker → · Palette generator →

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