#27189F#27189F

#27189F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.2% C 0.199 H 274.1°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#27189F
RGBrgb(39, 24, 159)
HSLhsl(247, 74%, 36%)
HSVhsv(247, 85%, 62%)
CMYKcmyk(75.5%, 84.9%, 0%, 37.6%)
CIE-LABlab(22.26, 48.79, -68.51)
CIE-LCHlch(22.26, 84.11, 305.46°)
OKLaboklab(35.16% 0.0141 -0.1981)
OKLCHoklch(35.16% 0.199 274.1)
XYZxyz(7.4193, 3.5870, 33.0955)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27189F #909F18
analogous
#184C9F #27189F #6A189F
triadic
#27189F #9F2718 #189F27
tetradic
#27189F #9F184C #909F18 #189F6A
square
#27189F #9F184C #909F18 #189F6A
split-complementary
#27189F #9F6A18 #4C9F18
monochromatic
#0D0835 #1A106A #27189F #3420D4 #5E4DE4

Accessibility & contrast

On white

12.23
#27189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#27189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27189F
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27189F#FFFFFF#000000##FFFFFF
##27189F1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #27189f;
/* rgb */ color: rgb(39, 24, 159);
/* oklch */ color: oklch(35.2% 0.199 274.1);
Tailwind
colors: {
  custom: {
    50: '#775abd',
    500: '#27189f',
    950: '#000000',
  },
}
SCSS
$custom: #27189f;
$custom-light: #775abd;
$custom-dark: #000000;
JSON
{
  "hex": "#27189f",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 246.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35164,
    "c": 0.1986,
    "h": 274.1
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#27189F
secondary
#B9C64D
accent
#F037DC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #27189F

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

Preview Lab → · Contrast checker → · Palette generator →

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