#27198E#27198E

#27198E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.178 H 276.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#27198E
RGBrgb(39, 25, 142)
HSLhsl(247, 70%, 33%)
HSVhsv(247, 82%, 56%)
CMYKcmyk(72.5%, 82.4%, 0%, 44.3%)
CIE-LABlab(20.36, 43.09, -61.17)
CIE-LCHlch(20.36, 74.83, 305.16°)
OKLaboklab(33.26% 0.0187 -0.1768)
OKLCHoklch(33.26% 0.178 276)
XYZxyz(6.0652, 3.0790, 25.8606)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27198E #808E19
analogous
#19468E #27198E #61198E
triadic
#27198E #8E2719 #198E27
tetradic
#27198E #8E1946 #808E19 #198E61
square
#27198E #8E1946 #808E19 #198E61
split-complementary
#27198E #8E6119 #468E19
monochromatic
#0A0726 #19105A #27198E #3522C2 #5643DE

Accessibility & contrast

On white

13.00
#27198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#27198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27198E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27198E#FFFFFF#000000##FFFFFF
##27198E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #27198e;
/* rgb */ color: rgb(39, 25, 142);
/* oklch */ color: oklch(33.3% 0.178 276.0);
Tailwind
colors: {
  custom: {
    50: '#735ab0',
    500: '#27198e',
    950: '#000000',
  },
}
SCSS
$custom: #27198e;
$custom-light: #735ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#27198e",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 247.179,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33258,
    "c": 0.17781,
    "h": 276
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#27198E
secondary
#B0BF44
accent
#ED3BD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #27198E

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

Preview Lab → · Contrast checker → · Palette generator →

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