#272086#272086

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

Color values

HEX#272086
RGBrgb(39, 32, 134)
HSLhsl(244, 61%, 33%)
HSVhsv(244, 76%, 53%)
CMYKcmyk(70.9%, 76.1%, 0%, 47.5%)
CIE-LABlab(20.77, 36.70, -55.48)
CIE-LCHlch(20.77, 66.52, 303.48°)
OKLaboklab(33.28% 0.0172 -0.1604)
OKLCHoklch(33.28% 0.161 276.1)
XYZxyz(5.6549, 3.1851, 22.8664)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272086 #7F8620
analogous
#204C86 #272086 #5A2086
triadic
#272086 #862720 #208627
tetradic
#272086 #86204C #7F8620 #20865A
square
#272086 #86204C #7F8620 #20865A
split-complementary
#272086 #865A20 #4C8620
monochromatic
#0A0823 #191455 #272086 #352CB7 #554CD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272086#FFFFFF#000000##FFFFFF
##2720861.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)
#003689
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272086;
/* rgb */ color: rgb(39, 32, 134);
/* oklch */ color: oklch(33.3% 0.161 276.1);
Tailwind
colors: {
  custom: {
    50: '#705daa',
    500: '#272086',
    950: '#000000',
  },
}
SCSS
$custom: #272086;
$custom-light: #705daa;
$custom-dark: #000000;
JSON
{
  "hex": "#272086",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 244.118,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33281,
    "c": 0.16128,
    "h": 276.1
  },
  "luminance": 0.03186
}

Semantic roles & 50–950 ramp

primary
#272086
secondary
#B0B74B
accent
#E543D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #272086

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

Preview Lab → · Contrast checker → · Palette generator →

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