#272177#272177

#272177 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.140 H 277.9°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#272177
RGBrgb(39, 33, 119)
HSLhsl(244, 57%, 30%)
HSVhsv(244, 72%, 47%)
CMYKcmyk(67.2%, 72.3%, 0%, 53.3%)
CIE-LABlab(19.44, 30.91, -48.16)
CIE-LCHlch(19.44, 57.23, 302.69°)
OKLaboklab(31.86% 0.0194 -0.139)
OKLCHoklch(31.86% 0.14 277.9)
XYZxyz(4.7093, 2.8506, 17.7512)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272177 #717721
analogous
#214677 #272177 #522177
triadic
#272177 #772721 #217727
tetradic
#272177 #772146 #717721 #217752
square
#272177 #772146 #717721 #217752
split-complementary
#272177 #775221 #467721
monochromatic
#080718 #171447 #272177 #372EA7 #5047CC

Accessibility & contrast

On white

13.37
#272177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#272177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272177
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272177#FFFFFF#000000##FFFFFF
##2721771.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #272177;
/* rgb */ color: rgb(39, 33, 119);
/* oklch */ color: oklch(31.9% 0.140 277.9);
Tailwind
colors: {
  custom: {
    50: '#6d5d9f',
    500: '#272177',
    950: '#000000',
  },
}
SCSS
$custom: #272177;
$custom-light: #6d5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#272177",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 244.186,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3186,
    "c": 0.14034,
    "h": 277.9
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#272177
secondary
#A3AA4A
accent
#E048D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040F
muted
#7A797E

Preview Lab

Preview with #272177

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

Preview Lab → · Contrast checker → · Palette generator →

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