#27189B#27189B

#27189B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.194 H 274.5°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#27189B
RGBrgb(39, 24, 155)
HSLhsl(247, 73%, 35%)
HSVhsv(247, 85%, 61%)
CMYKcmyk(74.8%, 84.5%, 0%, 39.2%)
CIE-LABlab(21.76, 47.58, -66.88)
CIE-LCHlch(21.76, 82.08, 305.43°)
OKLaboklab(34.68% 0.0153 -0.1934)
OKLCHoklch(34.68% 0.194 274.5)
XYZxyz(7.0778, 3.4504, 31.2970)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27189B #8C9B18
analogous
#184B9B #27189B #68189B
triadic
#27189B #9B2718 #189B27
tetradic
#27189B #9B184B #8C9B18 #189B68
square
#27189B #9B184B #8C9B18 #189B68
split-complementary
#27189B #9B6818 #4B9B18
monochromatic
#0C0831 #1A1066 #27189B #3420D0 #5C4AE3

Accessibility & contrast

On white

12.42
#27189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#27189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27189B
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27189B#FFFFFF#000000##FFFFFF
##27189B1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9E
Deuteranopia (green-blind)
#002E99
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #27189b;
/* rgb */ color: rgb(39, 24, 155);
/* oklch */ color: oklch(34.7% 0.194 274.5);
Tailwind
colors: {
  custom: {
    50: '#765aba',
    500: '#27189b',
    950: '#000000',
  },
}
SCSS
$custom: #27189b;
$custom-light: #765aba;
$custom-dark: #000000;
JSON
{
  "hex": "#27189b",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 246.87,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34684,
    "c": 0.19397,
    "h": 274.5
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#27189B
secondary
#B7C54A
accent
#F038DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #27189B

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

Preview Lab → · Contrast checker → · Palette generator →

#27189B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva