#272886#272886

#272886 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.152 H 274.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#272886
RGBrgb(39, 40, 134)
HSLhsl(239, 55%, 34%)
HSVhsv(239, 71%, 53%)
CMYKcmyk(70.9%, 70.1%, 0%, 47.5%)
CIE-LABlab(22.55, 31.79, -52.56)
CIE-LCHlch(22.55, 61.42, 301.17°)
OKLaboklab(34.55% 0.012 -0.1518)
OKLCHoklch(34.55% 0.152 274.5)
XYZxyz(5.8971, 3.6696, 22.9472)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272886 #868527
analogous
#275886 #272886 #562786
triadic
#272886 #862728 #288627
tetradic
#272886 #862758 #868527 #278656
square
#272886 #862758 #868527 #278656
split-complementary
#272886 #865627 #588627
monochromatic
#0B0C27 #191A57 #272886 #3536B5 #595ACF

Accessibility & contrast

On white

12.11
#272886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272886
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272886#FFFFFF#000000##FFFFFF
##2728861.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272886;
/* rgb */ color: rgb(39, 40, 134);
/* oklch */ color: oklch(34.6% 0.152 274.5);
Tailwind
colors: {
  custom: {
    50: '#6f62aa',
    500: '#272886',
    950: '#000000',
  },
}
SCSS
$custom: #272886;
$custom-light: #6f62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#272886",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 239.368,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34553,
    "c": 0.15231,
    "h": 274.5
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#272886
secondary
#B4B355
accent
#DD4ADE
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #272886

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

Preview Lab → · Contrast checker → · Palette generator →

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