#271390#271390

#271390 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.9% C 0.185 H 276.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#271390
RGBrgb(39, 19, 144)
HSLhsl(250, 77%, 32%)
HSVhsv(250, 87%, 56%)
CMYKcmyk(72.9%, 86.8%, 0%, 43.5%)
CIE-LABlab(19.68, 46.41, -63.54)
CIE-LCHlch(19.68, 78.69, 306.15°)
OKLaboklab(32.86% 0.0203 -0.1836)
OKLCHoklch(32.86% 0.185 276.3)
XYZxyz(6.1020, 2.9101, 26.6203)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271390 #7C9013
analogous
#133E90 #271390 #661390
triadic
#271390 #902713 #139027
tetradic
#271390 #90133E #7C9013 #139066
square
#271390 #90133E #7C9013 #139066
split-complementary
#271390 #906613 #3E9013
monochromatic
#0A0524 #180C5A #271390 #361AC6 #5439E5

Accessibility & contrast

On white

13.27
#271390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#271390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271390
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271390#FFFFFF#000000##FFFFFF
##2713901.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #271390;
/* rgb */ color: rgb(39, 19, 144);
/* oklch */ color: oklch(32.9% 0.185 276.3);
Tailwind
colors: {
  custom: {
    50: '#7457b2',
    500: '#271390',
    950: '#000000',
  },
}
SCSS
$custom: #271390;
$custom-light: #7457b2;
$custom-dark: #000000;
JSON
{
  "hex": "#271390",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 249.6,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32862,
    "c": 0.1847,
    "h": 276.3
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#271390
secondary
#AEC43B
accent
#F335D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #271390

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

Preview Lab → · Contrast checker → · Palette generator →

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