#272C72#272C72

#272C72 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.4% C 0.119 H 274.9°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#272C72
RGBrgb(39, 44, 114)
HSLhsl(236, 49%, 30%)
HSVhsv(236, 66%, 45%)
CMYKcmyk(65.8%, 61.4%, 0%, 55.3%)
CIE-LABlab(21.75, 21.75, -41.17)
CIE-LCHlch(21.75, 46.56, 297.85°)
OKLaboklab(33.41% 0.0101 -0.1184)
OKLCHoklch(33.41% 0.119 274.9)
XYZxyz(4.7736, 3.4472, 16.3301)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C72 #726D27
analogous
#275272 #272C72 #472772
triadic
#272C72 #72272C #2C7227
tetradic
#272C72 #722752 #726D27 #277247
square
#272C72 #722752 #726D27 #277247
split-complementary
#272C72 #724727 #527227
monochromatic
#080917 #171A44 #272C72 #373EA0 #5058C3

Accessibility & contrast

On white

12.43
#272C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#272C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C72
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C72#FFFFFF#000000##FFFFFF
##272C721.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272c72;
/* rgb */ color: rgb(39, 44, 114);
/* oklch */ color: oklch(33.4% 0.119 274.9);
Tailwind
colors: {
  custom: {
    50: '#6a659b',
    500: '#272c72',
    950: '#000000',
  },
}
SCSS
$custom: #272c72;
$custom-light: #6a659b;
$custom-dark: #000000;
JSON
{
  "hex": "#272c72",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 236,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.33411,
    "c": 0.11885,
    "h": 274.9
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#272C72
secondary
#A49F50
accent
#CF4FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #272C72

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

Preview Lab → · Contrast checker → · Palette generator →

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