#27138E#27138E

#27138E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.182 H 276.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#27138E
RGBrgb(39, 19, 142)
HSLhsl(250, 76%, 32%)
HSVhsv(250, 87%, 56%)
CMYKcmyk(72.5%, 86.6%, 0%, 44.3%)
CIE-LABlab(19.43, 45.82, -62.71)
CIE-LCHlch(19.43, 77.66, 306.15°)
OKLaboklab(32.62% 0.0209 -0.1812)
OKLCHoklch(32.62% 0.182 276.6)
XYZxyz(5.9505, 2.8495, 25.8224)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27138E #7A8E13
analogous
#133D8E #27138E #65138E
triadic
#27138E #8E2713 #138E27
tetradic
#27138E #8E133D #7A8E13 #138E65
square
#27138E #8E133D #7A8E13 #138E65
split-complementary
#27138E #8E6513 #3D8E13
monochromatic
#090522 #180C58 #27138E #361AC4 #5337E4

Accessibility & contrast

On white

13.38
#27138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#27138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27138E
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27138E#FFFFFF#000000##FFFFFF
##27138E1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#002A8C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27138e;
/* rgb */ color: rgb(39, 19, 142);
/* oklch */ color: oklch(32.6% 0.182 276.6);
Tailwind
colors: {
  custom: {
    50: '#7357b0',
    500: '#27138e',
    950: '#000000',
  },
}
SCSS
$custom: #27138e;
$custom-light: #7357b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27138e",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 249.756,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32619,
    "c": 0.18238,
    "h": 276.6
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#27138E
secondary
#ACC23B
accent
#F335D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #27138E

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

Preview Lab → · Contrast checker → · Palette generator →

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