#27197A#27197A

#27197A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.153 H 279.1°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#27197A
RGBrgb(39, 25, 122)
HSLhsl(249, 66%, 29%)
HSVhsv(249, 80%, 48%)
CMYKcmyk(68%, 79.5%, 0%, 52.2%)
CIE-LABlab(18.06, 36.66, -52.35)
CIE-LCHlch(18.06, 63.91, 305.01°)
OKLaboklab(30.98% 0.0243 -0.1512)
OKLCHoklch(30.98% 0.153 279.1)
XYZxyz(4.6961, 2.5314, 18.6497)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27197A #6C7A19
analogous
#193C7A #27197A #58197A
triadic
#27197A #7A2719 #197A27
tetradic
#27197A #7A193C #6C7A19 #197A58
square
#27197A #7A193C #6C7A19 #197A58
split-complementary
#27197A #7A5819 #3C7A19
monochromatic
#080519 #170F47 #27197A #3723AD #4E37D6

Accessibility & contrast

On white

13.94
#27197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#27197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27197A
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27197A#FFFFFF#000000##FFFFFF
##27197A1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #27197a;
/* rgb */ color: rgb(39, 25, 122);
/* oklch */ color: oklch(31.0% 0.153 279.1);
Tailwind
colors: {
  custom: {
    50: '#6e58a2',
    500: '#27197a',
    950: '#000000',
  },
}
SCSS
$custom: #27197a;
$custom-light: #6e58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#27197a",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 248.66,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30979,
    "c": 0.1531,
    "h": 279.1
  },
  "luminance": 0.02532
}

Semantic roles & 50–950 ramp

primary
#27197A
secondary
#9FAF40
accent
#E93FD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #27197A

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

Preview Lab → · Contrast checker → · Palette generator →

#27197A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva