#27329D#27329D

#27329D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.171 H 271.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#27329D
RGBrgb(39, 50, 157)
HSLhsl(234, 60%, 38%)
HSVhsv(234, 75%, 62%)
CMYKcmyk(75.2%, 68.2%, 0%, 38.4%)
CIE-LABlab(27.15, 33.70, -59.22)
CIE-LCHlch(27.15, 68.13, 299.65°)
OKLaboklab(38.56% 0.003 -0.1713)
OKLCHoklch(38.56% 0.171 271)
XYZxyz(8.0610, 5.1460, 32.4602)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27329D #9D9227
analogous
#276D9D #27329D #57279D
triadic
#27329D #9D2732 #329D27
tetradic
#27329D #9D276D #9D9227 #279D57
square
#27329D #9D276D #9D9227 #279D57
split-complementary
#27329D #9D5727 #6D9D27
monochromatic
#0F133B #1B226C #27329D #3543CD #6670D9

Accessibility & contrast

On white

10.35
#27329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#27329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27329D
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27329D#FFFFFF#000000##FFFFFF
##27329D1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #27329d;
/* rgb */ color: rgb(39, 50, 157);
/* oklch */ color: oklch(38.6% 0.171 271.0);
Tailwind
colors: {
  custom: {
    50: '#746abb',
    500: '#27329d',
    950: '#000000',
  },
}
SCSS
$custom: #27329d;
$custom-light: #746abb;
$custom-dark: #000000;
JSON
{
  "hex": "#27329d",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 234.407,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38563,
    "c": 0.17131,
    "h": 271
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#27329D
secondary
#BFB661
accent
#D544E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #27329D

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

Preview Lab → · Contrast checker → · Palette generator →

#27329D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva