#272184#272184

#272184 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.158 H 276.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#272184
RGBrgb(39, 33, 132)
HSLhsl(244, 60%, 32%)
HSVhsv(244, 75%, 52%)
CMYKcmyk(70.5%, 75%, 0%, 48.2%)
CIE-LABlab(20.77, 35.43, -54.23)
CIE-LCHlch(20.77, 64.77, 303.16°)
OKLaboklab(33.22% 0.017 -0.1567)
OKLCHoklch(33.22% 0.158 276.2)
XYZxyz(5.5441, 3.1845, 22.1478)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272184 #7E8421
analogous
#214D84 #272184 #582184
triadic
#272184 #842721 #218427
tetradic
#272184 #84214D #7E8421 #218458
square
#272184 #84214D #7E8421 #218458
split-complementary
#272184 #845821 #4D8421
monochromatic
#0A0922 #191553 #272184 #352DB5 #554DD2

Accessibility & contrast

On white

12.83
#272184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#272184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272184
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272184#FFFFFF#000000##FFFFFF
##2721841.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272184;
/* rgb */ color: rgb(39, 33, 132);
/* oklch */ color: oklch(33.2% 0.158 276.2);
Tailwind
colors: {
  custom: {
    50: '#705ea9',
    500: '#272184',
    950: '#000000',
  },
}
SCSS
$custom: #272184;
$custom-light: #705ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#272184",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 243.636,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33216,
    "c": 0.15763,
    "h": 276.2
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#272184
secondary
#AFB64B
accent
#E345DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #272184

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

Preview Lab → · Contrast checker → · Palette generator →

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