#27188A#27188A

#27188A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.174 H 276.7°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#27188A
RGBrgb(39, 24, 138)
HSLhsl(248, 70%, 32%)
HSVhsv(248, 83%, 54%)
CMYKcmyk(71.7%, 82.6%, 0%, 45.9%)
CIE-LABlab(19.72, 42.32, -59.73)
CIE-LCHlch(19.72, 73.21, 305.32°)
OKLaboklab(32.68% 0.0203 -0.1726)
OKLCHoklch(32.68% 0.174 276.7)
XYZxyz(5.7493, 2.9190, 24.3003)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27188A #7B8A18
analogous
#18428A #27188A #60188A
triadic
#27188A #8A2718 #188A27
tetradic
#27188A #8A1842 #7B8A18 #188A60
square
#27188A #8A1842 #7B8A18 #188A60
split-complementary
#27188A #8A6018 #428A18
monochromatic
#0A0622 #180F56 #27188A #3621BE #543FDE

Accessibility & contrast

On white

13.26
#27188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#27188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27188A
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27188A#FFFFFF#000000##FFFFFF
##27188A1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27188a;
/* rgb */ color: rgb(39, 24, 138);
/* oklch */ color: oklch(32.7% 0.174 276.7);
Tailwind
colors: {
  custom: {
    50: '#7259ad',
    500: '#27188a',
    950: '#000000',
  },
}
SCSS
$custom: #27188a;
$custom-light: #7259ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27188a",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 247.895,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32676,
    "c": 0.17381,
    "h": 276.7
  },
  "luminance": 0.0292
}

Semantic roles & 50–950 ramp

primary
#27188A
secondary
#ADBD40
accent
#ED3BD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #27188A

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

Preview Lab → · Contrast checker → · Palette generator →

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