#272589#272589

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

Color values

HEX#272589
RGBrgb(39, 37, 137)
HSLhsl(241, 57%, 34%)
HSVhsv(241, 73%, 54%)
CMYKcmyk(71.5%, 73%, 0%, 46.3%)
CIE-LABlab(22.16, 34.74, -55.07)
CIE-LCHlch(22.16, 65.11, 302.24°)
OKLaboklab(34.37% 0.0135 -0.1592)
OKLCHoklch(34.37% 0.16 274.9)
XYZxyz(6.0121, 3.5600, 24.0324)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272589 #878925
analogous
#255589 #272589 #592589
triadic
#272589 #892725 #258927
tetradic
#272589 #892555 #878925 #258959
square
#272589 #892555 #878925 #258959
split-complementary
#272589 #895925 #558925
monochromatic
#0C0B29 #191859 #272589 #3532B9 #5957D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##272589#FFFFFF#000000##FFFFFF
##2725891.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)
#003A8C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272589;
/* rgb */ color: rgb(39, 37, 137);
/* oklch */ color: oklch(34.4% 0.160 274.9);
Tailwind
colors: {
  custom: {
    50: '#7060ac',
    500: '#272589',
    950: '#000000',
  },
}
SCSS
$custom: #272589;
$custom-light: #7060ac;
$custom-dark: #000000;
JSON
{
  "hex": "#272589",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 241.2,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34365,
    "c": 0.15976,
    "h": 274.9
  },
  "luminance": 0.03561
}

Semantic roles & 50–950 ramp

primary
#272589
secondary
#B4B654
accent
#E147DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #272589

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

Preview Lab → · Contrast checker → · Palette generator →

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