#27198D#27198D

#27198D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.177 H 276.2°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#27198D
RGBrgb(39, 25, 141)
HSLhsl(247, 70%, 33%)
HSVhsv(247, 82%, 55%)
CMYKcmyk(72.3%, 82.3%, 0%, 44.7%)
CIE-LABlab(20.24, 42.78, -60.74)
CIE-LCHlch(20.24, 74.29, 305.15°)
OKLaboklab(33.14% 0.019 -0.1756)
OKLCHoklch(33.14% 0.177 276.2)
XYZxyz(5.9905, 3.0491, 25.4670)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27198D #7F8D19
analogous
#19458D #27198D #61198D
triadic
#27198D #8D2719 #198D27
tetradic
#27198D #8D1945 #7F8D19 #198D61
square
#27198D #8D1945 #7F8D19 #198D61
split-complementary
#27198D #8D6119 #458D19
monochromatic
#0A0725 #191059 #27198D #3522C1 #5543DE

Accessibility & contrast

On white

13.04
#27198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#27198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27198D
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27198D#FFFFFF#000000##FFFFFF
##27198D1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27198d;
/* rgb */ color: rgb(39, 25, 141);
/* oklch */ color: oklch(33.1% 0.177 276.2);
Tailwind
colors: {
  custom: {
    50: '#7259b0',
    500: '#27198d',
    950: '#000000',
  },
}
SCSS
$custom: #27198d;
$custom-light: #7259b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27198d",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 247.241,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33142,
    "c": 0.1766,
    "h": 276.2
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#27198D
secondary
#B0BF43
accent
#ED3BD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #27198D

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

Preview Lab → · Contrast checker → · Palette generator →

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