#272284#272284

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

Color values

HEX#272284
RGBrgb(39, 34, 132)
HSLhsl(243, 59%, 33%)
HSVhsv(243, 74%, 52%)
CMYKcmyk(70.5%, 74.2%, 0%, 48.2%)
CIE-LABlab(20.98, 34.83, -53.87)
CIE-LCHlch(20.98, 64.15, 302.88°)
OKLaboklab(33.37% 0.0163 -0.1557)
OKLCHoklch(33.37% 0.157 276)
XYZxyz(5.5722, 3.2408, 22.1572)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272284 #7F8422
analogous
#224E84 #272284 #582284
triadic
#272284 #842722 #228427
tetradic
#272284 #84224E #7F8422 #228458
square
#272284 #84224E #7F8422 #228458
split-complementary
#272284 #845822 #4E8422
monochromatic
#0A0923 #191553 #272284 #352FB5 #554FD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272284#FFFFFF#000000##FFFFFF
##2722841.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)
#003787
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272284;
/* rgb */ color: rgb(39, 34, 132);
/* oklch */ color: oklch(33.4% 0.157 276.0);
Tailwind
colors: {
  custom: {
    50: '#6f5ea9',
    500: '#272284',
    950: '#000000',
  },
}
SCSS
$custom: #272284;
$custom-light: #6f5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#272284",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 243.061,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33369,
    "c": 0.15654,
    "h": 276
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#272284
secondary
#B0B54D
accent
#E246DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #272284

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

Preview Lab → · Contrast checker → · Palette generator →

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