#27188E#27188E

#27188E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.179 H 276.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#27188E
RGBrgb(39, 24, 142)
HSLhsl(248, 71%, 33%)
HSVhsv(248, 83%, 56%)
CMYKcmyk(72.5%, 83.1%, 0%, 44.3%)
CIE-LABlab(20.19, 43.58, -61.45)
CIE-LCHlch(20.19, 75.33, 305.34°)
OKLaboklab(33.14% 0.0191 -0.1776)
OKLCHoklch(33.14% 0.179 276.1)
XYZxyz(6.0442, 3.0370, 25.8536)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27188E #7F8E18
analogous
#18448E #27188E #62188E
triadic
#27188E #8E2718 #188E27
tetradic
#27188E #8E1844 #7F8E18 #188E62
square
#27188E #8E1844 #7F8E18 #188E62
split-complementary
#27188E #8E6218 #448E18
monochromatic
#0A0625 #190F5A #27188E #3521C2 #5541DF

Accessibility & contrast

On white

13.06
#27188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#27188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27188E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27188E#FFFFFF#000000##FFFFFF
##27188E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27188e;
/* rgb */ color: rgb(39, 24, 142);
/* oklch */ color: oklch(33.1% 0.179 276.1);
Tailwind
colors: {
  custom: {
    50: '#7359b0',
    500: '#27188e',
    950: '#000000',
  },
}
SCSS
$custom: #27188e;
$custom-light: #7359b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27188e",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 247.627,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33143,
    "c": 0.17863,
    "h": 276.1
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27188E

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

Preview Lab → · Contrast checker → · Palette generator →

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