#27148C#27148C

#27148C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.179 H 276.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#27148C
RGBrgb(39, 20, 140)
HSLhsl(250, 75%, 31%)
HSVhsv(250, 86%, 55%)
CMYKcmyk(72.1%, 85.7%, 0%, 45.1%)
CIE-LABlab(19.33, 44.79, -61.63)
CIE-LCHlch(19.33, 76.19, 306.01°)
OKLaboklab(32.48% 0.0212 -0.1781)
OKLCHoklch(32.48% 0.179 276.8)
XYZxyz(5.8189, 2.8246, 25.0444)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27148C #798C14
analogous
#143D8C #27148C #63148C
triadic
#27148C #8C2714 #148C27
tetradic
#27148C #8C143D #798C14 #148C63
square
#27148C #8C143D #798C14 #148C63
split-complementary
#27148C #8C6314 #3D8C14
monochromatic
#090521 #180C56 #27148C #361CC2 #5338E3

Accessibility & contrast

On white

13.42
#27148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#27148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27148C
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27148C#FFFFFF#000000##FFFFFF
##27148C1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#002A8A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27148c;
/* rgb */ color: rgb(39, 20, 140);
/* oklch */ color: oklch(32.5% 0.179 276.8);
Tailwind
colors: {
  custom: {
    50: '#7357af',
    500: '#27148c',
    950: '#000000',
  },
}
SCSS
$custom: #27148c;
$custom-light: #7357af;
$custom-dark: #000000;
JSON
{
  "hex": "#27148c",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 249.5,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32477,
    "c": 0.17933,
    "h": 276.8
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#27148C
secondary
#ABC03C
accent
#F236D4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #27148C

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

Preview Lab → · Contrast checker → · Palette generator →

#27148C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva