#272186#272186

#272186 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.160 H 275.9°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#272186
RGBrgb(39, 33, 134)
HSLhsl(244, 60%, 33%)
HSVhsv(244, 75%, 53%)
CMYKcmyk(70.9%, 75.4%, 0%, 47.5%)
CIE-LABlab(20.98, 36.11, -55.14)
CIE-LCHlch(20.98, 65.91, 303.22°)
OKLaboklab(33.43% 0.0166 -0.1594)
OKLCHoklch(33.43% 0.16 275.9)
XYZxyz(5.6822, 3.2398, 22.8755)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272186 #808621
analogous
#214E86 #272186 #592186
triadic
#272186 #862721 #218627
tetradic
#272186 #86214E #808621 #218659
square
#272186 #86214E #808621 #218659
split-complementary
#272186 #865921 #4E8621
monochromatic
#0A0924 #191555 #272186 #352DB7 #564ED3

Accessibility & contrast

On white

12.74
#272186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272186
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272186#FFFFFF#000000##FFFFFF
##2721861.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272186;
/* rgb */ color: rgb(39, 33, 134);
/* oklch */ color: oklch(33.4% 0.160 275.9);
Tailwind
colors: {
  custom: {
    50: '#705eaa',
    500: '#272186',
    950: '#000000',
  },
}
SCSS
$custom: #272186;
$custom-light: #705eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#272186",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 243.564,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33429,
    "c": 0.16022,
    "h": 275.9
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#272186
secondary
#B0B74C
accent
#E444DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #272186

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

Preview Lab → · Contrast checker → · Palette generator →

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