#272691#272691

#272691 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.169 H 273.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#272691
RGBrgb(39, 38, 145)
HSLhsl(241, 58%, 36%)
HSVhsv(241, 74%, 57%)
CMYKcmyk(73.1%, 73.8%, 0%, 43.1%)
CIE-LABlab(23.21, 36.92, -58.33)
CIE-LCHlch(23.21, 69.03, 302.33°)
OKLaboklab(35.36% 0.0116 -0.1687)
OKLCHoklch(35.36% 0.169 273.9)
XYZxyz(6.6389, 3.8612, 27.1780)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272691 #909126
analogous
#265A91 #272691 #5C2691
triadic
#272691 #912726 #269127
tetradic
#272691 #91265A #909126 #26915C
square
#272691 #91265A #909126 #26915C
split-complementary
#272691 #915C26 #5A9126
monochromatic
#0D0D30 #1A1961 #272691 #3433C1 #5E5DD5

Accessibility & contrast

On white

11.85
#272691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#272691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272691
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272691#FFFFFF#000000##FFFFFF
##2726911.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00328F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272691;
/* rgb */ color: rgb(39, 38, 145);
/* oklch */ color: oklch(35.4% 0.169 273.9);
Tailwind
colors: {
  custom: {
    50: '#7261b2',
    500: '#272691',
    950: '#000000',
  },
}
SCSS
$custom: #272691;
$custom-light: #7261b2;
$custom-dark: #000000;
JSON
{
  "hex": "#272691",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 240.561,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35363,
    "c": 0.16909,
    "h": 273.9
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#272691
secondary
#B9BA59
accent
#E246E0
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272691

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

Preview Lab → · Contrast checker → · Palette generator →

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