#272176#272176

#272176 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.139 H 278.1°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#272176
RGBrgb(39, 33, 118)
HSLhsl(244, 56%, 30%)
HSVhsv(244, 72%, 46%)
CMYKcmyk(66.9%, 72%, 0%, 53.7%)
CIE-LABlab(19.34, 30.55, -47.68)
CIE-LCHlch(19.34, 56.63, 302.65°)
OKLaboklab(31.76% 0.0196 -0.1376)
OKLCHoklch(31.76% 0.139 278.1)
XYZxyz(4.6495, 2.8267, 17.4366)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272176 #707621
analogous
#214676 #272176 #512176
triadic
#272176 #762721 #217627
tetradic
#272176 #762146 #707621 #217651
square
#272176 #762146 #707621 #217651
split-complementary
#272176 #765121 #467621
monochromatic
#080718 #171446 #272176 #372EA6 #5046CB

Accessibility & contrast

On white

13.42
#272176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272176
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272176#FFFFFF#000000##FFFFFF
##2721761.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #272176;
/* rgb */ color: rgb(39, 33, 118);
/* oklch */ color: oklch(31.8% 0.139 278.1);
Tailwind
colors: {
  custom: {
    50: '#6c5d9e',
    500: '#272176',
    950: '#000000',
  },
}
SCSS
$custom: #272176;
$custom-light: #6c5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#272176",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 244.235,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31758,
    "c": 0.13897,
    "h": 278.1
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#272176
secondary
#A2A94A
accent
#E048D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #272176

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

Preview Lab → · Contrast checker → · Palette generator →

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