#27199C#27199C

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

Color values

HEX#27199C
RGBrgb(39, 25, 156)
HSLhsl(246, 72%, 35%)
HSVhsv(246, 84%, 61%)
CMYKcmyk(75%, 84%, 0%, 38.8%)
CIE-LABlab(22.04, 47.43, -67.04)
CIE-LCHlch(22.04, 82.12, 305.28°)
OKLaboklab(34.91% 0.0147 -0.1938)
OKLCHoklch(34.91% 0.194 274.3)
XYZxyz(7.1831, 3.5262, 31.7481)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27199C #8E9C19
analogous
#194C9C #27199C #68199C
triadic
#27199C #9C2719 #199C27
tetradic
#27199C #9C194C #8E9C19 #199C68
square
#27199C #9C194C #8E9C19 #199C68
split-complementary
#27199C #9C6819 #4C9C19
monochromatic
#0D0833 #1A1167 #27199C #3421D1 #5D4DE2

Accessibility & contrast

On white

12.31
#27199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#27199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27199C
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27199C#FFFFFF#000000##FFFFFF
##27199C1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA0
Deuteranopia (green-blind)
#002F9A
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #27199c;
/* rgb */ color: rgb(39, 25, 156);
/* oklch */ color: oklch(34.9% 0.194 274.3);
Tailwind
colors: {
  custom: {
    50: '#765bbb',
    500: '#27199c',
    950: '#000000',
  },
}
SCSS
$custom: #27199c;
$custom-light: #765bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#27199c",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 246.412,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34908,
    "c": 0.19439,
    "h": 274.3
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#27199C
secondary
#B8C44C
accent
#EF39DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #27199C

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

Preview Lab → · Contrast checker → · Palette generator →

#27199C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva