#272976#272976

#272976 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.129 H 275.7°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#272976
RGBrgb(39, 41, 118)
HSLhsl(238, 50%, 31%)
HSVhsv(238, 67%, 46%)
CMYKcmyk(66.9%, 65.3%, 0%, 53.7%)
CIE-LABlab(21.30, 25.29, -44.47)
CIE-LCHlch(21.30, 51.16, 299.63°)
OKLaboklab(33.18% 0.0128 -0.1281)
OKLCHoklch(33.18% 0.129 275.7)
XYZxyz(4.8986, 3.3248, 17.5196)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272976 #767427
analogous
#275076 #272976 #4C2776
triadic
#272976 #762729 #297627
tetradic
#272976 #762750 #767427 #27764C
square
#272976 #762750 #767427 #27764C
split-complementary
#272976 #764C27 #507627
monochromatic
#09091A #181948 #272976 #3639A4 #5255C6

Accessibility & contrast

On white

12.61
#272976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#272976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272976
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272976#FFFFFF#000000##FFFFFF
##2729761.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272976;
/* rgb */ color: rgb(39, 41, 118);
/* oklch */ color: oklch(33.2% 0.129 275.7);
Tailwind
colors: {
  custom: {
    50: '#6c639e',
    500: '#272976',
    950: '#000000',
  },
}
SCSS
$custom: #272976;
$custom-light: #6c639e;
$custom-dark: #000000;
JSON
{
  "hex": "#272976",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 118
  },
  "hsl": {
    "h": 238.481,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33185,
    "c": 0.12877,
    "h": 275.7
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#272976
secondary
#A8A651
accent
#D64EDA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #272976

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

Preview Lab → · Contrast checker → · Palette generator →

#272976 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva