#272099#272099

#272099 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.185 H 274.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#272099
RGBrgb(39, 32, 153)
HSLhsl(243, 65%, 36%)
HSVhsv(243, 79%, 60%)
CMYKcmyk(74.5%, 79.1%, 0%, 40%)
CIE-LABlab(22.87, 43.03, -63.81)
CIE-LCHlch(22.87, 76.96, 303.99°)
OKLaboklab(35.39% 0.0129 -0.1846)
OKLCHoklch(35.39% 0.185 274)
XYZxyz(7.1011, 3.7635, 30.4830)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272099 #929920
analogous
#205699 #272099 #642099
triadic
#272099 #992720 #209927
tetradic
#272099 #992056 #929920 #209964
square
#272099 #992056 #929920 #209964
split-complementary
#272099 #996420 #569920
monochromatic
#0D0B34 #1A1566 #272099 #342BCC #5F57DC

Accessibility & contrast

On white

11.98
#272099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#272099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272099
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272099#FFFFFF#000000##FFFFFF
##2720991.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272099;
/* rgb */ color: rgb(39, 32, 153);
/* oklch */ color: oklch(35.4% 0.185 274.0);
Tailwind
colors: {
  custom: {
    50: '#755eb8',
    500: '#272099',
    950: '#000000',
  },
}
SCSS
$custom: #272099;
$custom-light: #755eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#272099",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 243.471,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35386,
    "c": 0.18505,
    "h": 274
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#272099
secondary
#BAC055
accent
#E83FDF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #272099

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

Preview Lab → · Contrast checker → · Palette generator →

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