#272191#272191

#272191 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.174 H 274.7°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#272191
RGBrgb(39, 33, 145)
HSLhsl(243, 63%, 35%)
HSVhsv(243, 77%, 57%)
CMYKcmyk(73.1%, 77.2%, 0%, 43.1%)
CIE-LABlab(22.17, 39.84, -60.04)
CIE-LCHlch(22.17, 72.05, 303.56°)
OKLaboklab(34.63% 0.0142 -0.1736)
OKLCHoklch(34.63% 0.174 274.7)
XYZxyz(6.4897, 3.5627, 27.1282)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272191 #8B9121
analogous
#215391 #272191 #5F2191
triadic
#272191 #912721 #219127
tetradic
#272191 #912153 #8B9121 #21915F
square
#272191 #912153 #8B9121 #21915F
split-complementary
#272191 #915F21 #539121
monochromatic
#0C0A2D #1A165F #272191 #342CC3 #5B54D8

Accessibility & contrast

On white

12.26
#272191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#272191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272191
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272191#FFFFFF#000000##FFFFFF
##2721911.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00308F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272191;
/* rgb */ color: rgb(39, 33, 145);
/* oklch */ color: oklch(34.6% 0.174 274.7);
Tailwind
colors: {
  custom: {
    50: '#735eb2',
    500: '#272191',
    950: '#000000',
  },
}
SCSS
$custom: #272191;
$custom-light: #735eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#272191",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 243.214,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34626,
    "c": 0.17422,
    "h": 274.7
  },
  "luminance": 0.03563
}

Semantic roles & 50–950 ramp

primary
#272191
secondary
#B6BC52
accent
#E642DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #272191

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

Preview Lab → · Contrast checker → · Palette generator →

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