#272189#272189

#272189 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.164 H 275.6°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#272189
RGBrgb(39, 33, 137)
HSLhsl(243, 61%, 33%)
HSVhsv(243, 76%, 54%)
CMYKcmyk(71.5%, 75.9%, 0%, 46.3%)
CIE-LABlab(21.30, 37.14, -56.49)
CIE-LCHlch(21.30, 67.61, 303.32°)
OKLaboklab(33.75% 0.016 -0.1633)
OKLCHoklch(33.75% 0.164 275.6)
XYZxyz(5.8944, 3.3246, 23.9931)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272189 #838921
analogous
#214F89 #272189 #5B2189
triadic
#272189 #892721 #218927
tetradic
#272189 #89214F #838921 #21895B
square
#272189 #89214F #838921 #21895B
split-complementary
#272189 #895B21 #4F8921
monochromatic
#0B0926 #191558 #272189 #352DBA #5750D5

Accessibility & contrast

On white

12.61
#272189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#272189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272189
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272189#FFFFFF#000000##FFFFFF
##2721891.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272189;
/* rgb */ color: rgb(39, 33, 137);
/* oklch */ color: oklch(33.8% 0.164 275.6);
Tailwind
colors: {
  custom: {
    50: '#715ead',
    500: '#272189',
    950: '#000000',
  },
}
SCSS
$custom: #272189;
$custom-light: #715ead;
$custom-dark: #000000;
JSON
{
  "hex": "#272189",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 243.462,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33752,
    "c": 0.16409,
    "h": 275.6
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#272189
secondary
#B2B84E
accent
#E444DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #272189

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

Preview Lab → · Contrast checker → · Palette generator →

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