#27273D#27273D

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

Color values

HEX#27273D
RGBrgb(39, 39, 61)
HSLhsl(240, 22%, 20%)
HSVhsv(240, 36%, 24%)
CMYKcmyk(36.1%, 36.1%, 0%, 76.1%)
CIE-LABlab(16.60, 6.27, -14.03)
CIE-LCHlch(16.60, 15.37, 294.07°)
OKLaboklab(28.34% 0.0094 -0.039)
OKLCHoklch(28.34% 0.04 283.5)
XYZxyz(2.4043, 2.2192, 4.7157)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27273D #3D3D27
analogous
#27323D #27273D #32273D
triadic
#27273D #3D2727 #273D27
tetradic
#27273D #3D2732 #3D3D27 #273D32
square
#27273D #3D2732 #3D3D27 #273D32
split-complementary
#27273D #3D3227 #323D27
monochromatic
#0C0C13 #0F0F18 #27273D #3F3F62 #575788

Accessibility & contrast

On white

14.54
#27273D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27273D
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27273D#FFFFFF#000000##FFFFFF
##27273D1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212A3E
Deuteranopia (green-blind)
#20283C
Tritanopia (blue-blind)
#212B2F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #27273d;
/* rgb */ color: rgb(39, 39, 61);
/* oklch */ color: oklch(28.3% 0.040 283.5);
Tailwind
colors: {
  custom: {
    50: '#626172',
    500: '#27273d',
    950: '#000000',
  },
}
SCSS
$custom: #27273d;
$custom-light: #626172;
$custom-dark: #000000;
JSON
{
  "hex": "#27273d",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 61
  },
  "hsl": {
    "h": 240,
    "s": 22,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28339,
    "c": 0.04014,
    "h": 283.5
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#27273D
secondary
#6F6F51
accent
#BF69BF
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050508
muted
#79797B

Preview Lab

Preview with #27273D

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

Preview Lab → · Contrast checker → · Palette generator →

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