#272C84#272C84

#272C84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.145 H 273.7°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#272C84
RGBrgb(39, 44, 132)
HSLhsl(237, 54%, 34%)
HSVhsv(237, 70%, 52%)
CMYKcmyk(70.5%, 66.7%, 0%, 48.2%)
CIE-LABlab(23.33, 28.45, -50.02)
CIE-LCHlch(23.33, 57.54, 299.63°)
OKLaboklab(35.06% 0.0092 -0.1444)
OKLCHoklch(35.06% 0.145 273.7)
XYZxyz(5.9009, 3.8981, 22.2668)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C84 #847F27
analogous
#275A84 #272C84 #502784
triadic
#272C84 #84272C #2C8427
tetradic
#272C84 #84275A #847F27 #278450
square
#272C84 #84275A #847F27 #278450
split-complementary
#272C84 #845027 #5A8427
monochromatic
#0B0D26 #191C55 #272C84 #353CB3 #585ECE

Accessibility & contrast

On white

11.80
#272C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#272C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C84
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C84#FFFFFF#000000##FFFFFF
##272C841.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272c84;
/* rgb */ color: rgb(39, 44, 132);
/* oklch */ color: oklch(35.1% 0.145 273.7);
Tailwind
colors: {
  custom: {
    50: '#6f65a9',
    500: '#272c84',
    950: '#000000',
  },
}
SCSS
$custom: #272c84;
$custom-light: #6f65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#272c84",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 236.774,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35064,
    "c": 0.14469,
    "h": 273.7
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#272C84
secondary
#B2AD54
accent
#D64ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #272C84

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

Preview Lab → · Contrast checker → · Palette generator →

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