#272196#272196

#272196 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.180 H 274.2°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#272196
RGBrgb(39, 33, 150)
HSLhsl(243, 64%, 36%)
HSVhsv(243, 78%, 59%)
CMYKcmyk(74%, 78%, 0%, 41.2%)
CIE-LABlab(22.72, 41.50, -62.21)
CIE-LCHlch(22.72, 74.78, 303.71°)
OKLaboklab(35.18% 0.0131 -0.18)
OKLCHoklch(35.18% 0.18 274.2)
XYZxyz(6.8837, 3.7204, 29.2036)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272196 #909621
analogous
#215596 #272196 #612196
triadic
#272196 #962721 #219627
tetradic
#272196 #962155 #909621 #219661
square
#272196 #962155 #909621 #219661
split-complementary
#272196 #966121 #559621
monochromatic
#0D0B32 #1A1664 #272196 #342CC8 #5E57DA

Accessibility & contrast

On white

12.04
#272196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#272196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272196
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272196#FFFFFF#000000##FFFFFF
##2721961.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272196;
/* rgb */ color: rgb(39, 33, 150);
/* oklch */ color: oklch(35.2% 0.180 274.2);
Tailwind
colors: {
  custom: {
    50: '#745fb6',
    500: '#272196',
    950: '#000000',
  },
}
SCSS
$custom: #272196;
$custom-light: #745fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#272196",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 243.077,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35181,
    "c": 0.18044,
    "h": 274.2
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#272196
secondary
#B9BE55
accent
#E741DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #272196

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

Preview Lab → · Contrast checker → · Palette generator →

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