#27273A#27273A

#27273A is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.2% C 0.035 H 283.9°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#27273A
RGBrgb(39, 39, 58)
HSLhsl(240, 20%, 19%)
HSVhsv(240, 33%, 23%)
CMYKcmyk(32.8%, 32.8%, 0%, 77.3%)
CIE-LABlab(16.44, 5.32, -12.18)
CIE-LCHlch(16.44, 13.29, 293.58°)
OKLaboklab(28.17% 0.0084 -0.0337)
OKLCHoklch(28.17% 0.035 283.9)
XYZxyz(2.3257, 2.1878, 4.3019)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27273A #3A3A27
analogous
#27313A #27273A #31273A
triadic
#27273A #3A2727 #273A27
tetradic
#27273A #3A2731 #3A3A27 #273A31
square
#27273A #3A2731 #3A3A27 #273A31
split-complementary
#27273A #3A3127 #313A27
monochromatic
#0C0C12 #0E0E15 #27273A #40405F #585883

Accessibility & contrast

On white

14.61
#27273A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#27273A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27273A
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27273A#FFFFFF#000000##FFFFFF
##27273A1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22293B
Deuteranopia (green-blind)
#21283A
Tritanopia (blue-blind)
#222A2E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #27273a;
/* rgb */ color: rgb(39, 39, 58);
/* oklch */ color: oklch(28.2% 0.035 283.9);
Tailwind
colors: {
  custom: {
    50: '#616170',
    500: '#27273a',
    950: '#000000',
  },
}
SCSS
$custom: #27273a;
$custom-light: #616170;
$custom-dark: #000000;
JSON
{
  "hex": "#27273a",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 58
  },
  "hsl": {
    "h": 240,
    "s": 19.588,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28168,
    "c": 0.03473,
    "h": 283.9
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#27273A
secondary
#6B6B51
accent
#BC6CBC
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050507
muted
#79797A

Preview Lab

Preview with #27273A

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

Preview Lab → · Contrast checker → · Palette generator →

#27273A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva