#271693#271693

#271693 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.186 H 275.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#271693
RGBrgb(39, 22, 147)
HSLhsl(248, 74%, 33%)
HSVhsv(248, 85%, 58%)
CMYKcmyk(73.5%, 85%, 0%, 42.4%)
CIE-LABlab(20.48, 46.04, -64.07)
CIE-LCHlch(20.48, 78.89, 305.70°)
OKLaboklab(33.52% 0.0183 -0.1852)
OKLCHoklch(33.52% 0.186 275.6)
XYZxyz(6.3883, 3.1111, 27.8619)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271693 #829316
analogous
#164393 #271693 #651693
triadic
#271693 #932716 #169327
tetradic
#271693 #931643 #829316 #169365
square
#271693 #931643 #829316 #169365
split-complementary
#271693 #936516 #439316
monochromatic
#0B0629 #190E5E #271693 #351EC8 #5741E3

Accessibility & contrast

On white

12.94
#271693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#271693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271693
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271693#FFFFFF#000000##FFFFFF
##2716931.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002C91
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #271693;
/* rgb */ color: rgb(39, 22, 147);
/* oklch */ color: oklch(33.5% 0.186 275.6);
Tailwind
colors: {
  custom: {
    50: '#7458b4',
    500: '#271693',
    950: '#000000',
  },
}
SCSS
$custom: #271693;
$custom-light: #7458b4;
$custom-dark: #000000;
JSON
{
  "hex": "#271693",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 248.16,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3352,
    "c": 0.18609,
    "h": 275.6
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#271693
secondary
#B1C342
accent
#F137D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #271693

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

Preview Lab → · Contrast checker → · Palette generator →

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