#271490#271490

#271490 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 33.0% C 0.184 H 276.2°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#271490
RGBrgb(39, 20, 144)
HSLhsl(249, 76%, 32%)
HSVhsv(249, 86%, 56%)
CMYKcmyk(72.9%, 86.1%, 0%, 43.5%)
CIE-LABlab(19.82, 46.00, -63.31)
CIE-LCHlch(19.82, 78.25, 306.00°)
OKLaboklab(32.96% 0.0199 -0.1829)
OKLCHoklch(32.96% 0.184 276.2)
XYZxyz(6.1193, 2.9447, 26.6260)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271490 #7D9014
analogous
#143F90 #271490 #651490
triadic
#271490 #902714 #149027
tetradic
#271490 #90143F #7D9014 #149065
square
#271490 #90143F #7D9014 #149065
split-complementary
#271490 #906514 #3F9014
monochromatic
#0A0525 #180D5A #271490 #361BC6 #553BE4

Accessibility & contrast

On white

13.22
#271490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#271490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #271490
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271490#FFFFFF#000000##FFFFFF
##2714901.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #271490;
/* rgb */ color: rgb(39, 20, 144);
/* oklch */ color: oklch(33.0% 0.184 276.2);
Tailwind
colors: {
  custom: {
    50: '#7457b2',
    500: '#271490',
    950: '#000000',
  },
}
SCSS
$custom: #271490;
$custom-light: #7457b2;
$custom-dark: #000000;
JSON
{
  "hex": "#271490",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 249.194,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32958,
    "c": 0.18401,
    "h": 276.2
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#271490
secondary
#AFC33D
accent
#F236D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #271490

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

Preview Lab → · Contrast checker → · Palette generator →

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