#27289D#27289D

#27289D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.182 H 272.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#27289D
RGBrgb(39, 40, 157)
HSLhsl(239, 60%, 38%)
HSVhsv(239, 75%, 62%)
CMYKcmyk(75.2%, 74.5%, 0%, 38.4%)
CIE-LABlab(24.90, 39.87, -62.92)
CIE-LCHlch(24.90, 74.49, 302.36°)
OKLaboklab(36.95% 0.0084 -0.1821)
OKLCHoklch(36.95% 0.182 272.6)
XYZxyz(7.6793, 4.3824, 32.3329)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27289D #9D9C27
analogous
#27639D #27289D #61279D
triadic
#27289D #9D2728 #289D27
tetradic
#27289D #9D2763 #9D9C27 #279D61
square
#27289D #9D2763 #9D9C27 #279D61
split-complementary
#27289D #9D6127 #639D27
monochromatic
#0F0F3B #1B1C6C #27289D #3536CD #6666D9

Accessibility & contrast

On white

11.19
#27289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#27289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27289D
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27289D#FFFFFF#000000##FFFFFF
##27289D1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27289d;
/* rgb */ color: rgb(39, 40, 157);
/* oklch */ color: oklch(36.9% 0.182 272.6);
Tailwind
colors: {
  custom: {
    50: '#7563bb',
    500: '#27289d',
    950: '#000000',
  },
}
SCSS
$custom: #27289d;
$custom-light: #7563bb;
$custom-dark: #000000;
JSON
{
  "hex": "#27289d",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 239.492,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36945,
    "c": 0.18226,
    "h": 272.6
  },
  "luminance": 0.04383
}

Semantic roles & 50–950 ramp

primary
#27289D
secondary
#BFBE61
accent
#E244E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #27289D

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

Preview Lab → · Contrast checker → · Palette generator →

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