#27273C#27273C

#27273C is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.3% C 0.038 H 283.7°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#27273C
RGBrgb(39, 39, 60)
HSLhsl(240, 21%, 19%)
HSVhsv(240, 35%, 24%)
CMYKcmyk(35%, 35%, 0%, 76.5%)
CIE-LABlab(16.55, 5.95, -13.42)
CIE-LCHlch(16.55, 14.68, 293.90°)
OKLaboklab(28.28% 0.0091 -0.0372)
OKLCHoklch(28.28% 0.038 283.7)
XYZxyz(2.3776, 2.2086, 4.5751)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27273C #3C3C27
analogous
#27323C #27273C #32273C
triadic
#27273C #3C2727 #273C27
tetradic
#27273C #3C2732 #3C3C27 #273C32
square
#27273C #3C2732 #3C3C27 #273C32
split-complementary
#27273C #3C3227 #323C27
monochromatic
#0C0C13 #0F0F17 #27273C #3F3F61 #575786

Accessibility & contrast

On white

14.57
#27273C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27273C
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27273C#FFFFFF#000000##FFFFFF
##27273C1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3D
Deuteranopia (green-blind)
#20283B
Tritanopia (blue-blind)
#222B2E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #27273c;
/* rgb */ color: rgb(39, 39, 60);
/* oklch */ color: oklch(28.3% 0.038 283.7);
Tailwind
colors: {
  custom: {
    50: '#626171',
    500: '#27273c',
    950: '#000000',
  },
}
SCSS
$custom: #27273c;
$custom-light: #626171;
$custom-dark: #000000;
JSON
{
  "hex": "#27273c",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 60
  },
  "hsl": {
    "h": 240,
    "s": 21.212,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28281,
    "c": 0.03834,
    "h": 283.7
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#27273C
secondary
#6E6E51
accent
#BE6ABE
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050507
muted
#79797A

Preview Lab

Preview with #27273C

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

Preview Lab → · Contrast checker → · Palette generator →

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