#272E4E#272E4E

#272E4E is a dark, muted blue. Relative luminance 0.029; OKLCH L 31.1% C 0.058 H 273.2°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#272E4E
RGBrgb(39, 46, 78)
HSLhsl(229, 33%, 23%)
HSVhsv(229, 50%, 31%)
CMYKcmyk(50%, 41%, 0%, 69.4%)
CIE-LABlab(19.78, 7.02, -20.67)
CIE-LCHlch(19.78, 21.83, 288.76°)
OKLaboklab(31.1% 0.0033 -0.0582)
OKLCHoklch(31.1% 0.058 273.2)
XYZxyz(3.1884, 2.9352, 7.6048)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E4E #4E4727
analogous
#27414E #272E4E #33274E
triadic
#272E4E #4E272E #2E4E27
tetradic
#272E4E #4E2741 #4E4727 #274E33
square
#272E4E #4E2741 #4E4727 #274E33
split-complementary
#272E4E #4E3327 #414E27
monochromatic
#0A0C14 #131625 #272E4E #3B4677 #505EA0

Accessibility & contrast

On white

13.23
#272E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#272E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E4E
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E4E#FFFFFF#000000##FFFFFF
##272E4E1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22324F
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#19353A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #272e4e;
/* rgb */ color: rgb(39, 46, 78);
/* oklch */ color: oklch(31.1% 0.058 273.2);
Tailwind
colors: {
  custom: {
    50: '#63667f',
    500: '#272e4e',
    950: '#000000',
  },
}
SCSS
$custom: #272e4e;
$custom-light: #63667f;
$custom-dark: #000000;
JSON
{
  "hex": "#272e4e",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 229.231,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31103,
    "c": 0.05832,
    "h": 273.2
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#272E4E
secondary
#817850
accent
#B65EC9
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#05050A
muted
#7A7A7C

Preview Lab

Preview with #272E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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