#27189D#27189D

#27189D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.196 H 274.3°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#27189D
RGBrgb(39, 24, 157)
HSLhsl(247, 73%, 35%)
HSVhsv(247, 85%, 62%)
CMYKcmyk(75.2%, 84.7%, 0%, 38.4%)
CIE-LABlab(22.01, 48.18, -67.70)
CIE-LCHlch(22.01, 83.10, 305.44°)
OKLaboklab(34.92% 0.0147 -0.1957)
OKLCHoklch(34.92% 0.196 274.3)
XYZxyz(7.2471, 3.5182, 32.1889)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27189D #8E9D18
analogous
#184B9D #27189D #69189D
triadic
#27189D #9D2718 #189D27
tetradic
#27189D #9D184B #8E9D18 #189D69
square
#27189D #9D184B #8E9D18 #189D69
split-complementary
#27189D #9D6918 #4B9D18
monochromatic
#0D0833 #1A1068 #27189D #3420D2 #5D4CE4

Accessibility & contrast

On white

12.33
#27189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#27189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27189D
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27189D#FFFFFF#000000##FFFFFF
##27189D1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA1
Deuteranopia (green-blind)
#002E9B
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #27189d;
/* rgb */ color: rgb(39, 24, 157);
/* oklch */ color: oklch(34.9% 0.196 274.3);
Tailwind
colors: {
  custom: {
    50: '#765abb',
    500: '#27189d',
    950: '#000000',
  },
}
SCSS
$custom: #27189d;
$custom-light: #765abb;
$custom-dark: #000000;
JSON
{
  "hex": "#27189d",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 246.767,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34923,
    "c": 0.19629,
    "h": 274.3
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#27189D
secondary
#B8C54B
accent
#F038DB
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #27189D

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

Preview Lab → · Contrast checker → · Palette generator →

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