#271993#271993

#271993 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.8% C 0.184 H 275.4°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#271993
RGBrgb(39, 25, 147)
HSLhsl(247, 71%, 34%)
HSVhsv(247, 83%, 58%)
CMYKcmyk(73.5%, 83%, 0%, 42.4%)
CIE-LABlab(20.95, 44.66, -63.29)
CIE-LCHlch(20.95, 77.46, 305.20°)
OKLaboklab(33.84% 0.0172 -0.183)
OKLCHoklch(33.84% 0.184 275.4)
XYZxyz(6.4491, 3.2326, 27.8822)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271993 #859319
analogous
#194893 #271993 #641993
triadic
#271993 #932719 #199327
tetradic
#271993 #931948 #859319 #199364
square
#271993 #931948 #859319 #199364
split-complementary
#271993 #936419 #489319
monochromatic
#0B072A #19105F #271993 #3522C7 #5847E0

Accessibility & contrast

On white

12.75
#271993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#271993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271993
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271993#FFFFFF#000000##FFFFFF
##2719931.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002D91
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #271993;
/* rgb */ color: rgb(39, 25, 147);
/* oklch */ color: oklch(33.8% 0.184 275.4);
Tailwind
colors: {
  custom: {
    50: '#745ab4',
    500: '#271993',
    950: '#000000',
  },
}
SCSS
$custom: #271993;
$custom-light: #745ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#271993",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 246.885,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33843,
    "c": 0.18379,
    "h": 275.4
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#271993
secondary
#B3C147
accent
#EE3AD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #271993

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

Preview Lab → · Contrast checker → · Palette generator →

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