#27149F#27149F

#27149F is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.8% C 0.201 H 274.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#27149F
RGBrgb(39, 20, 159)
HSLhsl(248, 78%, 35%)
HSVhsv(248, 87%, 62%)
CMYKcmyk(75.5%, 87.4%, 0%, 37.6%)
CIE-LABlab(21.70, 50.43, -69.43)
CIE-LCHlch(21.70, 85.81, 305.99°)
OKLaboklab(34.79% 0.0152 -0.2007)
OKLCHoklch(34.79% 0.201 274.3)
XYZxyz(7.3428, 3.4341, 33.0700)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27149F #8C9F14
analogous
#14479F #27149F #6C149F
triadic
#27149F #9F2714 #149F27
tetradic
#27149F #9F1447 #8C9F14 #149F6C
square
#27149F #9F1447 #8C9F14 #149F6C
split-complementary
#27149F #9F6C14 #479F14
monochromatic
#0C0632 #1A0D69 #27149F #341BD5 #5C46E8

Accessibility & contrast

On white

12.45
#27149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#27149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27149F
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27149F#FFFFFF#000000##FFFFFF
##27149F1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002E9D
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #27149f;
/* rgb */ color: rgb(39, 20, 159);
/* oklch */ color: oklch(34.8% 0.201 274.3);
Tailwind
colors: {
  custom: {
    50: '#7759bd',
    500: '#27149f',
    950: '#000000',
  },
}
SCSS
$custom: #27149f;
$custom-light: #7759bd;
$custom-dark: #000000;
JSON
{
  "hex": "#27149f",
  "rgb": {
    "r": 39,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 248.201,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34786,
    "c": 0.20124,
    "h": 274.3
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#27149F
secondary
#B7C846
accent
#F434DA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #27149F

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

Preview Lab → · Contrast checker → · Palette generator →

#27149F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva