#272984#272984

#272984 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.148 H 274.4°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#272984
RGBrgb(39, 41, 132)
HSLhsl(239, 54%, 34%)
HSVhsv(239, 70%, 52%)
CMYKcmyk(70.5%, 68.9%, 0%, 48.2%)
CIE-LABlab(22.59, 30.42, -51.23)
CIE-LCHlch(22.59, 59.58, 300.70°)
OKLaboklab(34.53% 0.0115 -0.1479)
OKLCHoklch(34.53% 0.148 274.4)
XYZxyz(5.7931, 3.6826, 22.2308)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272984 #848227
analogous
#275784 #272984 #532784
triadic
#272984 #842729 #298427
tetradic
#272984 #842757 #848227 #278453
square
#272984 #842757 #848227 #278453
split-complementary
#272984 #845327 #578427
monochromatic
#0B0C26 #191A55 #272984 #3538B3 #585ACE

Accessibility & contrast

On white

12.09
#272984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#272984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272984
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272984#FFFFFF#000000##FFFFFF
##2729841.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272984;
/* rgb */ color: rgb(39, 41, 132);
/* oklch */ color: oklch(34.5% 0.148 274.4);
Tailwind
colors: {
  custom: {
    50: '#6f63a9',
    500: '#272984',
    950: '#000000',
  },
}
SCSS
$custom: #272984;
$custom-light: #6f63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#272984",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 238.71,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34527,
    "c": 0.1484,
    "h": 274.4
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#272984
secondary
#B2B054
accent
#DB4ADE
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #272984

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

Preview Lab → · Contrast checker → · Palette generator →

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