#272889#272889

#272889 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.156 H 274.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#272889
RGBrgb(39, 40, 137)
HSLhsl(239, 56%, 35%)
HSVhsv(239, 72%, 54%)
CMYKcmyk(71.5%, 70.8%, 0%, 46.3%)
CIE-LABlab(22.84, 32.86, -53.95)
CIE-LCHlch(22.84, 63.17, 301.35°)
OKLaboklab(34.86% 0.0116 -0.1559)
OKLCHoklch(34.86% 0.156 274.2)
XYZxyz(6.1093, 3.7545, 24.0648)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272889 #898827
analogous
#275989 #272889 #572789
triadic
#272889 #892728 #288927
tetradic
#272889 #892759 #898827 #278957
square
#272889 #892759 #898827 #278957
split-complementary
#272889 #895727 #598927
monochromatic
#0C0C2A #191A59 #272889 #3536B9 #5A5BD0

Accessibility & contrast

On white

11.99
#272889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#272889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272889
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272889#FFFFFF#000000##FFFFFF
##2728891.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272889;
/* rgb */ color: rgb(39, 40, 137);
/* oklch */ color: oklch(34.9% 0.156 274.2);
Tailwind
colors: {
  custom: {
    50: '#7062ac',
    500: '#272889',
    950: '#000000',
  },
}
SCSS
$custom: #272889;
$custom-light: #7062ac;
$custom-dark: #000000;
JSON
{
  "hex": "#272889",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 239.388,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34855,
    "c": 0.15635,
    "h": 274.2
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#272889
secondary
#B5B457
accent
#DD49DF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #272889

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

Preview Lab → · Contrast checker → · Palette generator →

#272889 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva