#272076#272076

#272076 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.140 H 278.3°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#272076
RGBrgb(39, 32, 118)
HSLhsl(245, 57%, 29%)
HSVhsv(245, 73%, 46%)
CMYKcmyk(66.9%, 72.9%, 0%, 53.7%)
CIE-LABlab(19.11, 31.18, -48.06)
CIE-LCHlch(19.11, 57.29, 302.98°)
OKLaboklab(31.59% 0.0203 -0.1387)
OKLCHoklch(31.59% 0.14 278.3)
XYZxyz(4.6222, 2.7720, 17.4275)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272076 #6F7620
analogous
#204476 #272076 #522076
triadic
#272076 #762720 #207627
tetradic
#272076 #762044 #6F7620 #207652
square
#272076 #762044 #6F7620 #207652
split-complementary
#272076 #765220 #447620
monochromatic
#080718 #171346 #272076 #372DA6 #4F44CC

Accessibility & contrast

On white

13.51
#272076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#272076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272076
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272076#FFFFFF#000000##FFFFFF
##2720761.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272076;
/* rgb */ color: rgb(39, 32, 118);
/* oklch */ color: oklch(31.6% 0.140 278.3);
Tailwind
colors: {
  custom: {
    50: '#6c5c9e',
    500: '#272076',
    950: '#000000',
  },
}
SCSS
$custom: #272076;
$custom-light: #6c5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#272076",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 244.884,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31594,
    "c": 0.14017,
    "h": 278.3
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#272076
secondary
#A2A948
accent
#E147D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #272076

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

Preview Lab → · Contrast checker → · Palette generator →

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