#272D82#272D82

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

Color values

HEX#272D82
RGBrgb(39, 45, 130)
HSLhsl(236, 54%, 33%)
HSVhsv(236, 70%, 51%)
CMYKcmyk(70%, 65.4%, 0%, 49%)
CIE-LABlab(23.40, 27.04, -48.65)
CIE-LCHlch(23.40, 55.66, 299.07°)
OKLaboklab(35.06% 0.0086 -0.1404)
OKLCHoklch(35.06% 0.141 273.5)
XYZxyz(5.8030, 3.9193, 21.5654)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D82 #827C27
analogous
#275A82 #272D82 #4E2782
triadic
#272D82 #82272D #2D8227
tetradic
#272D82 #82275A #827C27 #27824E
square
#272D82 #82275A #827C27 #27824E
split-complementary
#272D82 #824E27 #5A8227
monochromatic
#0B0C24 #191D53 #272D82 #353DB1 #575FCD

Accessibility & contrast

On white

11.77
#272D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272D82
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D82#FFFFFF#000000##FFFFFF
##272D821.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272d82;
/* rgb */ color: rgb(39, 45, 130);
/* oklch */ color: oklch(35.1% 0.141 273.5);
Tailwind
colors: {
  custom: {
    50: '#6e66a7',
    500: '#272d82',
    950: '#000000',
  },
}
SCSS
$custom: #272d82;
$custom-light: #6e66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#272d82",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 236.044,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3506,
    "c": 0.14062,
    "h": 273.5
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#272D82
secondary
#B1AB53
accent
#D44BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272D82

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

Preview Lab → · Contrast checker → · Palette generator →

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