#272D4E#272D4E

#272D4E is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.9% C 0.060 H 274.5°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#272D4E
RGBrgb(39, 45, 78)
HSLhsl(231, 33%, 23%)
HSVhsv(231, 50%, 31%)
CMYKcmyk(50%, 42.3%, 0%, 69.4%)
CIE-LABlab(19.47, 7.73, -21.17)
CIE-LCHlch(19.47, 22.54, 290.06°)
OKLaboklab(30.86% 0.0048 -0.0597)
OKLCHoklch(30.86% 0.06 274.5)
XYZxyz(3.1498, 2.8580, 7.5919)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D4E #4E4827
analogous
#27404E #272D4E #34274E
triadic
#272D4E #4E272D #2D4E27
tetradic
#272D4E #4E2740 #4E4827 #274E34
square
#272D4E #4E2740 #4E4827 #274E34
split-complementary
#272D4E #4E3427 #404E27
monochromatic
#0A0C14 #131525 #272D4E #3B4577 #505CA0

Accessibility & contrast

On white

13.36
#272D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#272D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D4E
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D4E#FFFFFF#000000##FFFFFF
##272D4E1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21314F
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#193439
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #272d4e;
/* rgb */ color: rgb(39, 45, 78);
/* oklch */ color: oklch(30.9% 0.060 274.5);
Tailwind
colors: {
  custom: {
    50: '#646580',
    500: '#272d4e',
    950: '#000000',
  },
}
SCSS
$custom: #272d4e;
$custom-light: #646580;
$custom-dark: #000000;
JSON
{
  "hex": "#272d4e",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 230.769,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3086,
    "c": 0.05988,
    "h": 274.5
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#272D4E
secondary
#817950
accent
#B95EC9
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #272D4E

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

Preview Lab → · Contrast checker → · Palette generator →

#272D4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva