#272696#272696

#272696 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.175 H 273.5°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#272696
RGBrgb(39, 38, 150)
HSLhsl(241, 60%, 37%)
HSVhsv(241, 75%, 59%)
CMYKcmyk(74%, 74.7%, 0%, 41.2%)
CIE-LABlab(23.73, 38.65, -60.55)
CIE-LCHlch(23.73, 71.83, 302.55°)
OKLaboklab(35.89% 0.0107 -0.1751)
OKLCHoklch(35.89% 0.175 273.5)
XYZxyz(7.0330, 4.0189, 29.2533)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272696 #959626
analogous
#265D96 #272696 #5F2696
triadic
#272696 #962726 #269627
tetradic
#272696 #96265D #959626 #26965F
square
#272696 #96265D #959626 #26965F
split-complementary
#272696 #965F26 #5D9626
monochromatic
#0E0D34 #1A1A65 #272696 #3432C7 #6160D7

Accessibility & contrast

On white

11.64
#272696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#272696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272696
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272696#FFFFFF#000000##FFFFFF
##2726961.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272696;
/* rgb */ color: rgb(39, 38, 150);
/* oklch */ color: oklch(35.9% 0.175 273.5);
Tailwind
colors: {
  custom: {
    50: '#7362b6',
    500: '#272696',
    950: '#000000',
  },
}
SCSS
$custom: #272696;
$custom-light: #7362b6;
$custom-dark: #000000;
JSON
{
  "hex": "#272696",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 240.536,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35895,
    "c": 0.17547,
    "h": 273.5
  },
  "luminance": 0.0402
}

Semantic roles & 50–950 ramp

primary
#272696
secondary
#BBBC5C
accent
#E345E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272696

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

Preview Lab → · Contrast checker → · Palette generator →

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