#27198C#27198C

#27198C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.175 H 276.3°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#27198C
RGBrgb(39, 25, 140)
HSLhsl(247, 70%, 32%)
HSVhsv(247, 82%, 55%)
CMYKcmyk(72.1%, 82.1%, 0%, 45.1%)
CIE-LABlab(20.12, 42.46, -60.31)
CIE-LCHlch(20.12, 73.76, 305.14°)
OKLaboklab(33.03% 0.0192 -0.1743)
OKLCHoklch(33.03% 0.175 276.3)
XYZxyz(5.9164, 3.0195, 25.0769)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27198C #7E8C19
analogous
#19458C #27198C #60198C
triadic
#27198C #8C2719 #198C27
tetradic
#27198C #8C1945 #7E8C19 #198C60
square
#27198C #8C1945 #7E8C19 #198C60
split-complementary
#27198C #8C6019 #458C19
monochromatic
#0A0624 #191058 #27198C #3522C0 #5542DD

Accessibility & contrast

On white

13.09
#27198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#27198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27198C
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27198C#FFFFFF#000000##FFFFFF
##27198C1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358F
Deuteranopia (green-blind)
#002B8A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #27198c;
/* rgb */ color: rgb(39, 25, 140);
/* oklch */ color: oklch(33.0% 0.175 276.3);
Tailwind
colors: {
  custom: {
    50: '#7259af',
    500: '#27198c',
    950: '#000000',
  },
}
SCSS
$custom: #27198c;
$custom-light: #7259af;
$custom-dark: #000000;
JSON
{
  "hex": "#27198c",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 247.304,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33025,
    "c": 0.1754,
    "h": 276.3
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#27198C
secondary
#AFBE43
accent
#ED3BD7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #27198C

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

Preview Lab → · Contrast checker → · Palette generator →

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