#27198F#27198F

#27198F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.179 H 275.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#27198F
RGBrgb(39, 25, 143)
HSLhsl(247, 70%, 33%)
HSVhsv(247, 83%, 56%)
CMYKcmyk(72.7%, 82.5%, 0%, 43.9%)
CIE-LABlab(20.48, 43.40, -61.60)
CIE-LCHlch(20.48, 75.36, 305.17°)
OKLaboklab(33.38% 0.0184 -0.1781)
OKLCHoklch(33.38% 0.179 275.9)
XYZxyz(6.1406, 3.1092, 26.2578)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27198F #818F19
analogous
#19468F #27198F #62198F
triadic
#27198F #8F2719 #198F27
tetradic
#27198F #8F1946 #818F19 #198F62
square
#27198F #8F1946 #818F19 #198F62
split-complementary
#27198F #8F6219 #468F19
monochromatic
#0B0727 #19105B #27198F #3522C3 #5644DE

Accessibility & contrast

On white

12.95
#27198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27198F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27198F#FFFFFF#000000##FFFFFF
##27198F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #27198f;
/* rgb */ color: rgb(39, 25, 143);
/* oklch */ color: oklch(33.4% 0.179 275.9);
Tailwind
colors: {
  custom: {
    50: '#735ab1',
    500: '#27198f',
    950: '#000000',
  },
}
SCSS
$custom: #27198f;
$custom-light: #735ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#27198f",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 247.119,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33375,
    "c": 0.17902,
    "h": 275.9
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27198F

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

Preview Lab → · Contrast checker → · Palette generator →

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