#27189E#27189E

#27189E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.197 H 274.2°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#27189E
RGBrgb(39, 24, 158)
HSLhsl(247, 74%, 36%)
HSVhsv(247, 85%, 62%)
CMYKcmyk(75.3%, 84.8%, 0%, 38%)
CIE-LABlab(22.13, 48.49, -68.11)
CIE-LCHlch(22.13, 83.60, 305.45°)
OKLaboklab(35.04% 0.0144 -0.1969)
OKLCHoklch(35.04% 0.197 274.2)
XYZxyz(7.3328, 3.5525, 32.6404)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27189E #8F9E18
analogous
#184C9E #27189E #6A189E
triadic
#27189E #9E2718 #189E27
tetradic
#27189E #9E184C #8F9E18 #189E6A
square
#27189E #9E184C #8F9E18 #189E6A
split-complementary
#27189E #9E6A18 #4C9E18
monochromatic
#0D0834 #1A1069 #27189E #3420D3 #5D4DE4

Accessibility & contrast

On white

12.28
#27189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#27189E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27189E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27189E#FFFFFF#000000##FFFFFF
##27189E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #27189e;
/* rgb */ color: rgb(39, 24, 158);
/* oklch */ color: oklch(35.0% 0.197 274.2);
Tailwind
colors: {
  custom: {
    50: '#775abc',
    500: '#27189e',
    950: '#000000',
  },
}
SCSS
$custom: #27189e;
$custom-light: #775abc;
$custom-dark: #000000;
JSON
{
  "hex": "#27189e",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 246.716,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35043,
    "c": 0.19744,
    "h": 274.2
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#27189E
secondary
#B8C64C
accent
#F038DC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #27189E

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

Preview Lab → · Contrast checker → · Palette generator →

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