#272080#272080

#272080 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.153 H 276.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#272080
RGBrgb(39, 32, 128)
HSLhsl(244, 60%, 31%)
HSVhsv(244, 75%, 50%)
CMYKcmyk(69.5%, 75%, 0%, 49.8%)
CIE-LABlab(20.13, 34.65, -52.75)
CIE-LCHlch(20.13, 63.11, 303.30°)
OKLaboklab(32.64% 0.0184 -0.1524)
OKLCHoklch(32.64% 0.153 276.9)
XYZxyz(5.2482, 3.0224, 20.7247)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272080 #798020
analogous
#204980 #272080 #572080
triadic
#272080 #802720 #208027
tetradic
#272080 #802049 #798020 #208057
square
#272080 #802049 #798020 #208057
split-complementary
#272080 #805720 #498020
monochromatic
#09081E #18144F #272080 #362CB1 #5349D1

Accessibility & contrast

On white

13.09
#272080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#272080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272080
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272080#FFFFFF#000000##FFFFFF
##2720801.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #272080;
/* rgb */ color: rgb(39, 32, 128);
/* oklch */ color: oklch(32.6% 0.153 276.9);
Tailwind
colors: {
  custom: {
    50: '#6f5da6',
    500: '#272080',
    950: '#000000',
  },
}
SCSS
$custom: #272080;
$custom-light: #6f5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#272080",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 244.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32638,
    "c": 0.15349,
    "h": 276.9
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#272080
secondary
#ABB349
accent
#E345D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #272080

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

Preview Lab → · Contrast checker → · Palette generator →

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