#272190#272190

#272190 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.173 H 274.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#272190
RGBrgb(39, 33, 144)
HSLhsl(243, 63%, 35%)
HSVhsv(243, 77%, 56%)
CMYKcmyk(72.9%, 77.1%, 0%, 43.5%)
CIE-LABlab(22.06, 39.50, -59.60)
CIE-LCHlch(22.06, 71.50, 303.54°)
OKLaboklab(34.52% 0.0145 -0.1724)
OKLCHoklch(34.52% 0.173 274.8)
XYZxyz(6.4129, 3.5320, 26.7239)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272190 #8A9021
analogous
#215390 #272190 #5E2190
triadic
#272190 #902721 #219027
tetradic
#272190 #902153 #8A9021 #21905E
square
#272190 #902153 #8A9021 #21905E
split-complementary
#272190 #905E21 #539021
monochromatic
#0C0A2C #1A165E #272190 #342CC2 #5B54D8

Accessibility & contrast

On white

12.31
#272190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#272190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272190
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272190#FFFFFF#000000##FFFFFF
##2721901.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272190;
/* rgb */ color: rgb(39, 33, 144);
/* oklch */ color: oklch(34.5% 0.173 274.8);
Tailwind
colors: {
  custom: {
    50: '#725eb2',
    500: '#272190',
    950: '#000000',
  },
}
SCSS
$custom: #272190;
$custom-light: #725eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#272190",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 243.243,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34516,
    "c": 0.17296,
    "h": 274.8
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#272190
secondary
#B6BB51
accent
#E642DD
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #272190

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

Preview Lab → · Contrast checker → · Palette generator →

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