#272D84#272D84

#272D84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.143 H 273.4°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#272D84
RGBrgb(39, 45, 132)
HSLhsl(236, 54%, 34%)
HSVhsv(236, 70%, 52%)
CMYKcmyk(70.5%, 65.9%, 0%, 48.2%)
CIE-LABlab(23.58, 27.79, -49.61)
CIE-LCHlch(23.58, 56.86, 299.25°)
OKLaboklab(35.25% 0.0084 -0.1432)
OKLCHoklch(35.25% 0.143 273.4)
XYZxyz(5.9386, 3.9735, 22.2793)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D84 #847E27
analogous
#275B84 #272D84 #4F2784
triadic
#272D84 #84272D #2D8427
tetradic
#272D84 #84275B #847E27 #27844F
square
#272D84 #84275B #847E27 #27844F
split-complementary
#272D84 #844F27 #5B8427
monochromatic
#0B0D26 #191D55 #272D84 #353DB3 #585FCE

Accessibility & contrast

On white

11.70
#272D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#272D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D84
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D84#FFFFFF#000000##FFFFFF
##272D841.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272d84;
/* rgb */ color: rgb(39, 45, 132);
/* oklch */ color: oklch(35.2% 0.143 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e66a9',
    500: '#272d84',
    950: '#000000',
  },
}
SCSS
$custom: #272d84;
$custom-light: #6e66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#272d84",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 236.129,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35248,
    "c": 0.14343,
    "h": 273.4
  },
  "luminance": 0.03974
}

Semantic roles & 50–950 ramp

primary
#272D84
secondary
#B2AC54
accent
#D44ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272D84

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

Preview Lab → · Contrast checker → · Palette generator →

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