#272899#272899

#272899 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.177 H 272.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#272899
RGBrgb(39, 40, 153)
HSLhsl(239, 59%, 38%)
HSVhsv(239, 75%, 60%)
CMYKcmyk(74.5%, 73.9%, 0%, 40%)
CIE-LABlab(24.48, 38.49, -61.17)
CIE-LCHlch(24.48, 72.27, 302.18°)
OKLaboklab(36.52% 0.0091 -0.177)
OKLCHoklch(36.52% 0.177 272.9)
XYZxyz(7.3433, 4.2481, 30.5638)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272899 #999827
analogous
#276199 #272899 #5F2799
triadic
#272899 #992728 #289927
tetradic
#272899 #992761 #999827 #27995F
square
#272899 #992761 #999827 #27995F
split-complementary
#272899 #995F27 #619927
monochromatic
#0E0E37 #1B1B68 #272899 #3335CA #6364D7

Accessibility & contrast

On white

11.35
#272899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#272899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272899
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272899#FFFFFF#000000##FFFFFF
##2728991.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272899;
/* rgb */ color: rgb(39, 40, 153);
/* oklch */ color: oklch(36.5% 0.177 272.9);
Tailwind
colors: {
  custom: {
    50: '#7463b8',
    500: '#272899',
    950: '#000000',
  },
}
SCSS
$custom: #272899;
$custom-light: #7463b8;
$custom-dark: #000000;
JSON
{
  "hex": "#272899",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 239.474,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36518,
    "c": 0.1772,
    "h": 272.9
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#272899
secondary
#BDBC5F
accent
#E145E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #272899

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

Preview Lab → · Contrast checker → · Palette generator →

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