#272084#272084

#272084 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.159 H 276.4°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#272084
RGBrgb(39, 32, 132)
HSLhsl(244, 61%, 32%)
HSVhsv(244, 76%, 52%)
CMYKcmyk(70.5%, 75.8%, 0%, 48.2%)
CIE-LABlab(20.56, 36.02, -54.58)
CIE-LCHlch(20.56, 65.39, 303.42°)
OKLaboklab(33.07% 0.0176 -0.1577)
OKLCHoklch(33.07% 0.159 276.4)
XYZxyz(5.5167, 3.1298, 22.1387)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272084 #7D8420
analogous
#204B84 #272084 #592084
triadic
#272084 #842720 #208427
tetradic
#272084 #84204B #7D8420 #208459
square
#272084 #84204B #7D8420 #208459
split-complementary
#272084 #845920 #4B8420
monochromatic
#0A0821 #181453 #272084 #362CB5 #554BD3

Accessibility & contrast

On white

12.92
#272084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#272084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272084
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272084#FFFFFF#000000##FFFFFF
##2720841.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272084;
/* rgb */ color: rgb(39, 32, 132);
/* oklch */ color: oklch(33.1% 0.159 276.4);
Tailwind
colors: {
  custom: {
    50: '#705da9',
    500: '#272084',
    950: '#000000',
  },
}
SCSS
$custom: #272084;
$custom-light: #705da9;
$custom-dark: #000000;
JSON
{
  "hex": "#272084",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 244.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33065,
    "c": 0.1587,
    "h": 276.4
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#272084
secondary
#AFB64A
accent
#E444D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #272084

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

Preview Lab → · Contrast checker → · Palette generator →

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