#27148B#27148B

#27148B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.178 H 276.9°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#27148B
RGBrgb(39, 20, 139)
HSLhsl(250, 75%, 31%)
HSVhsv(250, 86%, 55%)
CMYKcmyk(71.9%, 85.6%, 0%, 45.5%)
CIE-LABlab(19.20, 44.49, -61.21)
CIE-LCHlch(19.20, 75.67, 306.01°)
OKLaboklab(32.36% 0.0216 -0.1768)
OKLCHoklch(32.36% 0.178 276.9)
XYZxyz(5.7455, 2.7952, 24.6578)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27148B #788B14
analogous
#143C8B #27148B #62148B
triadic
#27148B #8B2714 #148B27
tetradic
#27148B #8B143C #788B14 #148B62
square
#27148B #8B143C #788B14 #148B62
split-complementary
#27148B #8B6214 #3C8B14
monochromatic
#090520 #180C55 #27148B #361CC1 #5237E2

Accessibility & contrast

On white

13.47
#27148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#27148B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27148B
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27148B#FFFFFF#000000##FFFFFF
##27148B1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27148b;
/* rgb */ color: rgb(39, 20, 139);
/* oklch */ color: oklch(32.4% 0.178 276.9);
Tailwind
colors: {
  custom: {
    50: '#7257ae',
    500: '#27148b',
    950: '#000000',
  },
}
SCSS
$custom: #27148b;
$custom-light: #7257ae;
$custom-dark: #000000;
JSON
{
  "hex": "#27148b",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 249.58,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32357,
    "c": 0.17816,
    "h": 276.9
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#27148B
secondary
#AABF3C
accent
#F136D4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #27148B

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

Preview Lab → · Contrast checker → · Palette generator →

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