#27197B#27197B

#27197B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.154 H 279.0°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#27197B
RGBrgb(39, 25, 123)
HSLhsl(249, 66%, 29%)
HSVhsv(249, 80%, 48%)
CMYKcmyk(68.3%, 79.7%, 0%, 51.8%)
CIE-LABlab(18.17, 36.99, -52.80)
CIE-LCHlch(18.17, 64.47, 305.01°)
OKLaboklab(31.09% 0.024 -0.1525)
OKLCHoklch(31.09% 0.154 279)
XYZxyz(4.7583, 2.5563, 18.9777)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27197B #6D7B19
analogous
#193C7B #27197B #58197B
triadic
#27197B #7B2719 #197B27
tetradic
#27197B #7B193C #6D7B19 #197B58
square
#27197B #7B193C #6D7B19 #197B58
split-complementary
#27197B #7B5819 #3C7B19
monochromatic
#080519 #170F48 #27197B #3723AE #4F38D7

Accessibility & contrast

On white

13.89
#27197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27197B
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27197B#FFFFFF#000000##FFFFFF
##27197B1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #27197b;
/* rgb */ color: rgb(39, 25, 123);
/* oklch */ color: oklch(31.1% 0.154 279.0);
Tailwind
colors: {
  custom: {
    50: '#6e58a2',
    500: '#27197b',
    950: '#000000',
  },
}
SCSS
$custom: #27197b;
$custom-light: #6e58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#27197b",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 248.571,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3109,
    "c": 0.15436,
    "h": 279
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#27197B
secondary
#A0AF40
accent
#E93FD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #27197B

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

Preview Lab → · Contrast checker → · Palette generator →

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