#27289B#27289B

#27289B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.180 H 272.8°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#27289B
RGBrgb(39, 40, 155)
HSLhsl(239, 60%, 38%)
HSVhsv(239, 75%, 61%)
CMYKcmyk(74.8%, 74.2%, 0%, 39.2%)
CIE-LABlab(24.69, 39.18, -62.05)
CIE-LCHlch(24.69, 73.38, 302.27°)
OKLaboklab(36.73% 0.0088 -0.1795)
OKLCHoklch(36.73% 0.18 272.8)
XYZxyz(7.5099, 4.3147, 31.4410)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27289B #9B9A27
analogous
#27629B #27289B #60279B
triadic
#27289B #9B2728 #289B27
tetradic
#27289B #9B2762 #9B9A27 #279B60
square
#27289B #9B2762 #9B9A27 #279B60
split-complementary
#27289B #9B6027 #629B27
monochromatic
#0E0F39 #1B1B6A #27289B #3335CC #6465D8

Accessibility & contrast

On white

11.27
#27289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27289B
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27289B#FFFFFF#000000##FFFFFF
##27289B1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27289b;
/* rgb */ color: rgb(39, 40, 155);
/* oklch */ color: oklch(36.7% 0.180 272.8);
Tailwind
colors: {
  custom: {
    50: '#7463ba',
    500: '#27289b',
    950: '#000000',
  },
}
SCSS
$custom: #27289b;
$custom-light: #7463ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27289b",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 239.483,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36731,
    "c": 0.17974,
    "h": 272.8
  },
  "luminance": 0.04315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27289B

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

Preview Lab → · Contrast checker → · Palette generator →

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