#271690#271690

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

Color values

HEX#271690
RGBrgb(39, 22, 144)
HSLhsl(248, 73%, 33%)
HSVhsv(248, 85%, 56%)
CMYKcmyk(72.9%, 84.7%, 0%, 43.5%)
CIE-LABlab(20.12, 45.12, -62.82)
CIE-LCHlch(20.12, 77.34, 305.69°)
OKLaboklab(33.16% 0.0192 -0.1815)
OKLCHoklch(33.16% 0.183 276)
XYZxyz(6.1560, 3.0182, 26.6383)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#271690 #7F9016
analogous
#164290 #271690 #641690
triadic
#271690 #902716 #169027
tetradic
#271690 #901642 #7F9016 #169064
square
#271690 #901642 #7F9016 #169064
split-complementary
#271690 #906416 #429016
monochromatic
#0A0626 #190E5B #271690 #351EC5 #553FE2

Accessibility & contrast

On white

13.09
#271690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #271690
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##271690#FFFFFF#000000##FFFFFF
##2716901.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #271690;
/* rgb */ color: rgb(39, 22, 144);
/* oklch */ color: oklch(33.2% 0.183 276.0);
Tailwind
colors: {
  custom: {
    50: '#7358b2',
    500: '#271690',
    950: '#000000',
  },
}
SCSS
$custom: #271690;
$custom-light: #7358b2;
$custom-dark: #000000;
JSON
{
  "hex": "#271690",
  "rgb": {
    "r": 39,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 248.361,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33161,
    "c": 0.18257,
    "h": 276
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#271690
secondary
#B0C240
accent
#F038D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #271690

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

Preview Lab → · Contrast checker → · Palette generator →

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