#27188D#27188D

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

Color values

HEX#27188D
RGBrgb(39, 24, 141)
HSLhsl(248, 71%, 32%)
HSVhsv(248, 83%, 55%)
CMYKcmyk(72.3%, 83%, 0%, 44.7%)
CIE-LABlab(20.07, 43.26, -61.02)
CIE-LCHlch(20.07, 74.80, 305.34°)
OKLaboklab(33.03% 0.0194 -0.1764)
OKLCHoklch(33.03% 0.177 276.3)
XYZxyz(5.9695, 3.0071, 25.4600)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27188D #7E8D18
analogous
#18448D #27188D #61188D
triadic
#27188D #8D2718 #188D27
tetradic
#27188D #8D1844 #7E8D18 #188D61
square
#27188D #8D1844 #7E8D18 #188D61
split-complementary
#27188D #8D6118 #448D18
monochromatic
#0A0624 #190F59 #27188D #3521C1 #5541DF

Accessibility & contrast

On white

13.11
#27188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#27188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27188D
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27188D#FFFFFF#000000##FFFFFF
##27188D1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27188d;
/* rgb */ color: rgb(39, 24, 141);
/* oklch */ color: oklch(33.0% 0.177 276.3);
Tailwind
colors: {
  custom: {
    50: '#7359b0',
    500: '#27188d',
    950: '#000000',
  },
}
SCSS
$custom: #27188d;
$custom-light: #7359b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27188d",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 247.692,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33026,
    "c": 0.17743,
    "h": 276.3
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#27188D
secondary
#AFBF42
accent
#EE3AD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #27188D

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

Preview Lab → · Contrast checker → · Palette generator →

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