#272096#272096

#272096 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.181 H 274.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#272096
RGBrgb(39, 32, 150)
HSLhsl(244, 65%, 36%)
HSVhsv(244, 79%, 59%)
CMYKcmyk(74%, 78.7%, 0%, 41.2%)
CIE-LABlab(22.53, 42.05, -62.53)
CIE-LCHlch(22.53, 75.35, 303.92°)
OKLaboklab(35.05% 0.0136 -0.1809)
OKLCHoklch(35.05% 0.181 274.3)
XYZxyz(6.8564, 3.6657, 29.1945)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272096 #8F9620
analogous
#205496 #272096 #622096
triadic
#272096 #962720 #209627
tetradic
#272096 #962054 #8F9620 #209662
square
#272096 #962054 #8F9620 #209662
split-complementary
#272096 #966220 #549620
monochromatic
#0D0A31 #1A1564 #272096 #342BC8 #5D56DB

Accessibility & contrast

On white

12.12
#272096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#272096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272096
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272096#FFFFFF#000000##FFFFFF
##2720961.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272096;
/* rgb */ color: rgb(39, 32, 150);
/* oklch */ color: oklch(35.0% 0.181 274.3);
Tailwind
colors: {
  custom: {
    50: '#745eb6',
    500: '#272096',
    950: '#000000',
  },
}
SCSS
$custom: #272096;
$custom-light: #745eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#272096",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 243.559,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35047,
    "c": 0.18138,
    "h": 274.3
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#272096
secondary
#B8BE53
accent
#E840DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #272096

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

Preview Lab → · Contrast checker → · Palette generator →

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