#272591#272591

#272591 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.170 H 274.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#272591
RGBrgb(39, 37, 145)
HSLhsl(241, 59%, 36%)
HSVhsv(241, 74%, 57%)
CMYKcmyk(73.1%, 74.5%, 0%, 43.1%)
CIE-LABlab(22.99, 37.52, -58.68)
CIE-LCHlch(22.99, 69.65, 302.59°)
OKLaboklab(35.21% 0.0121 -0.1697)
OKLCHoklch(35.21% 0.17 274.1)
XYZxyz(6.6074, 3.7982, 27.1675)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272591 #8F9125
analogous
#255991 #272591 #5D2591
triadic
#272591 #912725 #259127
tetradic
#272591 #912559 #8F9125 #25915D
square
#272591 #912559 #8F9125 #25915D
split-complementary
#272591 #915D25 #599125
monochromatic
#0D0C2F #1A1960 #272591 #3431C2 #5D5BD5

Accessibility & contrast

On white

11.93
#272591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#272591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272591
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272591#FFFFFF#000000##FFFFFF
##2725911.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00328F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272591;
/* rgb */ color: rgb(39, 37, 145);
/* oklch */ color: oklch(35.2% 0.170 274.1);
Tailwind
colors: {
  custom: {
    50: '#7261b2',
    500: '#272591',
    950: '#000000',
  },
}
SCSS
$custom: #272591;
$custom-light: #7261b2;
$custom-dark: #000000;
JSON
{
  "hex": "#272591",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 241.111,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3521,
    "c": 0.17014,
    "h": 274.1
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#272591
secondary
#B8BA58
accent
#E345E0
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272591

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

Preview Lab → · Contrast checker → · Palette generator →

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