#27289F#27289F

#27289F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.185 H 272.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#27289F
RGBrgb(39, 40, 159)
HSLhsl(240, 61%, 39%)
HSVhsv(240, 75%, 62%)
CMYKcmyk(75.5%, 74.8%, 0%, 37.6%)
CIE-LABlab(25.11, 40.56, -63.79)
CIE-LCHlch(25.11, 75.59, 302.45°)
OKLaboklab(37.16% 0.0081 -0.1846)
OKLCHoklch(37.16% 0.185 272.5)
XYZxyz(7.8514, 4.4513, 33.2396)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27289F #9F9E27
analogous
#27649F #27289F #62279F
triadic
#27289F #9F2728 #289F27
tetradic
#27289F #9F2764 #9F9E27 #279F62
square
#27289F #9F2764 #9F9E27 #279F62
split-complementary
#27289F #9F6227 #649F27
monochromatic
#0F0F3D #1B1C6E #27289F #3637CE #6768DA

Accessibility & contrast

On white

11.11
#27289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#27289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27289F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27289F#FFFFFF#000000##FFFFFF
##27289F1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #27289f;
/* rgb */ color: rgb(39, 40, 159);
/* oklch */ color: oklch(37.2% 0.185 272.5);
Tailwind
colors: {
  custom: {
    50: '#7563bd',
    500: '#27289f',
    950: '#000000',
  },
}
SCSS
$custom: #27289f;
$custom-light: #7563bd;
$custom-dark: #000000;
JSON
{
  "hex": "#27289f",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 239.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.3716,
    "c": 0.18478,
    "h": 272.5
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27289F

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

Preview Lab → · Contrast checker → · Palette generator →

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