#272085#272085

#272085 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.160 H 276.2°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#272085
RGBrgb(39, 32, 133)
HSLhsl(244, 61%, 32%)
HSVhsv(244, 76%, 52%)
CMYKcmyk(70.7%, 75.9%, 0%, 47.8%)
CIE-LABlab(20.66, 36.36, -55.03)
CIE-LCHlch(20.66, 65.96, 303.45°)
OKLaboklab(33.17% 0.0174 -0.159)
OKLCHoklch(33.17% 0.16 276.2)
XYZxyz(5.5855, 3.1573, 22.5008)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272085 #7E8520
analogous
#204C85 #272085 #592085
triadic
#272085 #852720 #208527
tetradic
#272085 #85204C #7E8520 #208559
square
#272085 #85204C #7E8520 #208559
split-complementary
#272085 #855920 #4C8520
monochromatic
#0A0822 #191454 #272085 #352CB6 #554CD4

Accessibility & contrast

On white

12.87
#272085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#272085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272085
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272085#FFFFFF#000000##FFFFFF
##2720851.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272085;
/* rgb */ color: rgb(39, 32, 133);
/* oklch */ color: oklch(33.2% 0.160 276.2);
Tailwind
colors: {
  custom: {
    50: '#705daa',
    500: '#272085',
    950: '#000000',
  },
}
SCSS
$custom: #272085;
$custom-light: #705daa;
$custom-dark: #000000;
JSON
{
  "hex": "#272085",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 244.158,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33173,
    "c": 0.15999,
    "h": 276.2
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#272085
secondary
#AFB74A
accent
#E443D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #272085

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

Preview Lab → · Contrast checker → · Palette generator →

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