#27187A#27187A

#27187A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.154 H 279.3°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#27187A
RGBrgb(39, 24, 122)
HSLhsl(249, 67%, 29%)
HSVhsv(249, 80%, 48%)
CMYKcmyk(68%, 80.3%, 0%, 52.2%)
CIE-LABlab(17.87, 37.20, -52.66)
CIE-LCHlch(17.87, 64.48, 305.24°)
OKLaboklab(30.85% 0.0249 -0.1521)
OKLCHoklch(30.85% 0.154 279.3)
XYZxyz(4.6751, 2.4894, 18.6427)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27187A #6B7A18
analogous
#183A7A #27187A #58187A
triadic
#27187A #7A2718 #187A27
tetradic
#27187A #7A183A #6B7A18 #187A58
square
#27187A #7A183A #6B7A18 #187A58
split-complementary
#27187A #7A5818 #3A7A18
monochromatic
#08051A #170E47 #27187A #3722AD #4E35D7

Accessibility & contrast

On white

14.02
#27187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#27187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27187A
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27187A#FFFFFF#000000##FFFFFF
##27187A1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #27187a;
/* rgb */ color: rgb(39, 24, 122);
/* oklch */ color: oklch(30.8% 0.154 279.3);
Tailwind
colors: {
  custom: {
    50: '#6e58a2',
    500: '#27187a',
    950: '#000000',
  },
}
SCSS
$custom: #27187a;
$custom-light: #6e58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#27187a",
  "rgb": {
    "r": 39,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 249.184,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30846,
    "c": 0.15408,
    "h": 279.3
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#27187A
secondary
#9EAF3F
accent
#EA3ED0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #27187A

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

Preview Lab → · Contrast checker → · Palette generator →

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