#272280#272280

#272280 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.151 H 276.5°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#272280
RGBrgb(39, 34, 128)
HSLhsl(243, 58%, 32%)
HSVhsv(243, 73%, 50%)
CMYKcmyk(69.5%, 73.4%, 0%, 49.8%)
CIE-LABlab(20.57, 33.43, -52.03)
CIE-LCHlch(20.57, 61.85, 302.73°)
OKLaboklab(32.95% 0.0171 -0.1503)
OKLCHoklch(32.95% 0.151 276.5)
XYZxyz(5.3037, 3.1334, 20.7432)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272280 #7B8022
analogous
#224C80 #272280 #562280
triadic
#272280 #802722 #228027
tetradic
#272280 #80224C #7B8022 #228056
square
#272280 #80224C #7B8022 #228056
split-complementary
#272280 #805622 #4C8022
monochromatic
#0A081F #181550 #272280 #362FB0 #544DD0

Accessibility & contrast

On white

12.91
#272280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#272280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272280
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272280#FFFFFF#000000##FFFFFF
##2722801.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272280;
/* rgb */ color: rgb(39, 34, 128);
/* oklch */ color: oklch(32.9% 0.151 276.5);
Tailwind
colors: {
  custom: {
    50: '#6f5ea6',
    500: '#272280',
    950: '#000000',
  },
}
SCSS
$custom: #272280;
$custom-light: #6f5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#272280",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 243.191,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32949,
    "c": 0.15126,
    "h": 276.5
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#272280
secondary
#ADB24B
accent
#E147D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #272280

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

Preview Lab → · Contrast checker → · Palette generator →

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