#271590#271590

#271590 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.183 H 276.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#271590
RGBrgb(39, 21, 144)
HSLhsl(249, 75%, 32%)
HSVhsv(249, 85%, 56%)
CMYKcmyk(72.9%, 85.4%, 0%, 43.5%)
CIE-LABlab(19.97, 45.57, -63.07)
CIE-LCHlch(19.97, 77.80, 305.85°)
OKLaboklab(33.06% 0.0196 -0.1822)
OKLCHoklch(33.06% 0.183 276.1)
XYZxyz(6.1373, 2.9807, 26.6320)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271590 #7E9015
analogous
#154190 #271590 #641590
triadic
#271590 #902715 #159027
tetradic
#271590 #901541 #7E9015 #159064
square
#271590 #901541 #7E9015 #159064
split-complementary
#271590 #906415 #419015
monochromatic
#0A0525 #190D5B #271590 #351DC5 #553DE3

Accessibility & contrast

On white

13.16
#271590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#271590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271590
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271590#FFFFFF#000000##FFFFFF
##2715901.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #271590;
/* rgb */ color: rgb(39, 21, 144);
/* oklch */ color: oklch(33.1% 0.183 276.1);
Tailwind
colors: {
  custom: {
    50: '#7458b2',
    500: '#271590',
    950: '#000000',
  },
}
SCSS
$custom: #271590;
$custom-light: #7458b2;
$custom-dark: #000000;
JSON
{
  "hex": "#271590",
  "rgb": {
    "r": 39,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 248.78,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33058,
    "c": 0.1833,
    "h": 276.1
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#271590
secondary
#AFC23E
accent
#F137D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #271590

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

Preview Lab → · Contrast checker → · Palette generator →

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