#272D79#272D79

#272D79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.128 H 274.0°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#272D79
RGBrgb(39, 45, 121)
HSLhsl(236, 51%, 31%)
HSVhsv(236, 68%, 47%)
CMYKcmyk(67.8%, 62.8%, 0%, 52.5%)
CIE-LABlab(22.61, 23.69, -44.24)
CIE-LCHlch(22.61, 50.18, 298.16°)
OKLaboklab(34.23% 0.009 -0.1274)
OKLCHoklch(34.23% 0.128 274)
XYZxyz(5.2251, 3.6881, 18.5220)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D79 #797327
analogous
#275679 #272D79 #4A2779
triadic
#272D79 #79272D #2D7927
tetradic
#272D79 #792756 #797327 #27794A
square
#272D79 #792756 #797327 #27794A
split-complementary
#272D79 #794A27 #567927
monochromatic
#090B1C #181C4B #272D79 #363EA7 #535BC8

Accessibility & contrast

On white

12.08
#272D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#272D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D79
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D79#FFFFFF#000000##FFFFFF
##272D791.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272d79;
/* rgb */ color: rgb(39, 45, 121);
/* oklch */ color: oklch(34.2% 0.128 274.0);
Tailwind
colors: {
  custom: {
    50: '#6c66a0',
    500: '#272d79',
    950: '#000000',
  },
}
SCSS
$custom: #272d79;
$custom-light: #6c66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#272d79",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 235.61,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34232,
    "c": 0.12776,
    "h": 274
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#272D79
secondary
#ABA451
accent
#D04DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #272D79

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

Preview Lab → · Contrast checker → · Palette generator →

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