#272089#272089

#272089 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.165 H 275.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#272089
RGBrgb(39, 32, 137)
HSLhsl(244, 62%, 33%)
HSVhsv(244, 77%, 54%)
CMYKcmyk(71.5%, 76.6%, 0%, 46.3%)
CIE-LABlab(21.09, 37.72, -56.83)
CIE-LCHlch(21.09, 68.21, 303.57°)
OKLaboklab(33.61% 0.0165 -0.1643)
OKLCHoklch(33.61% 0.165 275.7)
XYZxyz(5.8671, 3.2700, 23.9840)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272089 #828920
analogous
#204D89 #272089 #5B2089
triadic
#272089 #892720 #208927
tetradic
#272089 #89204D #828920 #20895B
square
#272089 #89204D #828920 #20895B
split-complementary
#272089 #895B20 #4D8920
monochromatic
#0B0926 #191457 #272089 #352CBB #574ED6

Accessibility & contrast

On white

12.69
#272089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#272089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272089
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272089#FFFFFF#000000##FFFFFF
##2720891.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272089;
/* rgb */ color: rgb(39, 32, 137);
/* oklch */ color: oklch(33.6% 0.165 275.7);
Tailwind
colors: {
  custom: {
    50: '#715dad',
    500: '#272089',
    950: '#000000',
  },
}
SCSS
$custom: #272089;
$custom-light: #715dad;
$custom-dark: #000000;
JSON
{
  "hex": "#272089",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 244,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33607,
    "c": 0.16512,
    "h": 275.7
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#272089
secondary
#B1B94C
accent
#E543DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #272089

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

Preview Lab → · Contrast checker → · Palette generator →

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