#27289E#27289E

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

Color values

HEX#27289E
RGBrgb(39, 40, 158)
HSLhsl(239, 60%, 39%)
HSVhsv(239, 75%, 62%)
CMYKcmyk(75.3%, 74.7%, 0%, 38%)
CIE-LABlab(25.00, 40.22, -63.35)
CIE-LCHlch(25.00, 75.04, 302.41°)
OKLaboklab(37.05% 0.0082 -0.1833)
OKLCHoklch(37.05% 0.184 272.6)
XYZxyz(7.7650, 4.4167, 32.7844)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27289E #9E9D27
analogous
#27639E #27289E #61279E
triadic
#27289E #9E2728 #289E27
tetradic
#27289E #9E2763 #9E9D27 #279E61
square
#27289E #9E2763 #9E9D27 #279E61
split-complementary
#27289E #9E6127 #639E27
monochromatic
#0F0F3C #1B1C6D #27289E #3536CD #6667D9

Accessibility & contrast

On white

11.15
#27289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27289E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27289E#FFFFFF#000000##FFFFFF
##27289E1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27289e;
/* rgb */ color: rgb(39, 40, 158);
/* oklch */ color: oklch(37.1% 0.184 272.6);
Tailwind
colors: {
  custom: {
    50: '#7563bc',
    500: '#27289e',
    950: '#000000',
  },
}
SCSS
$custom: #27289e;
$custom-light: #7563bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27289e",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 239.496,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37052,
    "c": 0.18352,
    "h": 272.6
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#27289E
secondary
#BFBE62
accent
#E244E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #27289E

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

Preview Lab → · Contrast checker → · Palette generator →

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