#27273E#27273E

#27273E is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.4% C 0.042 H 283.4°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#27273E
RGBrgb(39, 39, 62)
HSLhsl(240, 23%, 20%)
HSVhsv(240, 37%, 24%)
CMYKcmyk(37.1%, 37.1%, 0%, 75.7%)
CIE-LABlab(16.65, 6.59, -14.64)
CIE-LCHlch(16.65, 16.06, 294.22°)
OKLaboklab(28.4% 0.0097 -0.0408)
OKLCHoklch(28.4% 0.042 283.4)
XYZxyz(2.4315, 2.2301, 4.8588)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27273E #3E3E27
analogous
#27333E #27273E #33273E
triadic
#27273E #3E2727 #273E27
tetradic
#27273E #3E2733 #3E3E27 #273E33
square
#27273E #3E2733 #3E3E27 #273E33
split-complementary
#27273E #3E3327 #333E27
monochromatic
#0C0C13 #0F0F18 #27273E #3F3F64 #565689

Accessibility & contrast

On white

14.52
#27273E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#27273E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27273E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27273E#FFFFFF#000000##FFFFFF
##27273E1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A3F
Deuteranopia (green-blind)
#1F283D
Tritanopia (blue-blind)
#212B2F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #27273e;
/* rgb */ color: rgb(39, 39, 62);
/* oklch */ color: oklch(28.4% 0.042 283.4);
Tailwind
colors: {
  custom: {
    50: '#626173',
    500: '#27273e',
    950: '#000000',
  },
}
SCSS
$custom: #27273e;
$custom-light: #626173;
$custom-dark: #000000;
JSON
{
  "hex": "#27273e",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 62
  },
  "hsl": {
    "h": 240,
    "s": 22.772,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28397,
    "c": 0.04192,
    "h": 283.4
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#27273E
secondary
#707051
accent
#BF69BF
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050508
muted
#79797B

Preview Lab

Preview with #27273E

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

Preview Lab → · Contrast checker → · Palette generator →

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