#272087#272087

#272087 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.163 H 276.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#272087
RGBrgb(39, 32, 135)
HSLhsl(244, 62%, 33%)
HSVhsv(244, 76%, 53%)
CMYKcmyk(71.1%, 76.3%, 0%, 47.1%)
CIE-LABlab(20.88, 37.04, -55.93)
CIE-LCHlch(20.88, 67.09, 303.51°)
OKLaboklab(33.39% 0.017 -0.1617)
OKLCHoklch(33.39% 0.163 276)
XYZxyz(5.7250, 3.2131, 23.2355)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272087 #808720
analogous
#204C87 #272087 #5B2087
triadic
#272087 #872720 #208727
tetradic
#272087 #87204C #808720 #20875B
square
#272087 #87204C #808720 #20875B
split-complementary
#272087 #875B20 #4C8720
monochromatic
#0A0924 #191456 #272087 #352CB8 #564DD5

Accessibility & contrast

On white

12.78
#272087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#272087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272087
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272087#FFFFFF#000000##FFFFFF
##2720871.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002E85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272087;
/* rgb */ color: rgb(39, 32, 135);
/* oklch */ color: oklch(33.4% 0.163 276.0);
Tailwind
colors: {
  custom: {
    50: '#705dab',
    500: '#272087',
    950: '#000000',
  },
}
SCSS
$custom: #272087;
$custom-light: #705dab;
$custom-dark: #000000;
JSON
{
  "hex": "#272087",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 244.078,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33389,
    "c": 0.16256,
    "h": 276
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#272087
secondary
#B0B84B
accent
#E543DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #272087

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

Preview Lab → · Contrast checker → · Palette generator →

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