#272C79#272C79

#272C79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.129 H 274.4°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#272C79
RGBrgb(39, 44, 121)
HSLhsl(236, 51%, 31%)
HSVhsv(236, 68%, 47%)
CMYKcmyk(67.8%, 63.6%, 0%, 52.5%)
CIE-LABlab(22.35, 24.37, -44.68)
CIE-LCHlch(22.35, 50.89, 298.61°)
OKLaboklab(34.04% 0.0099 -0.1287)
OKLCHoklch(34.04% 0.129 274.4)
XYZxyz(5.1874, 3.6127, 18.5094)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C79 #797427
analogous
#275579 #272C79 #4B2779
triadic
#272C79 #79272C #2C7927
tetradic
#272C79 #792755 #797427 #27794B
square
#272C79 #792755 #797427 #27794B
split-complementary
#272C79 #794B27 #557927
monochromatic
#090A1C #181B4B #272C79 #363DA7 #535AC8

Accessibility & contrast

On white

12.19
#272C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#272C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C79
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C79#FFFFFF#000000##FFFFFF
##272C791.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272c79;
/* rgb */ color: rgb(39, 44, 121);
/* oklch */ color: oklch(34.0% 0.129 274.4);
Tailwind
colors: {
  custom: {
    50: '#6c65a0',
    500: '#272c79',
    950: '#000000',
  },
}
SCSS
$custom: #272c79;
$custom-light: #6c65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#272c79",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 236.341,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34037,
    "c": 0.1291,
    "h": 274.4
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#272C79
secondary
#ABA651
accent
#D24DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #272C79

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

Preview Lab → · Contrast checker → · Palette generator →

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