#27329E#27329E

#27329E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.173 H 270.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#27329E
RGBrgb(39, 50, 158)
HSLhsl(234, 60%, 39%)
HSVhsv(234, 75%, 62%)
CMYKcmyk(75.3%, 68.4%, 0%, 38%)
CIE-LABlab(27.24, 34.07, -59.67)
CIE-LCHlch(27.24, 68.71, 299.72°)
OKLaboklab(38.66% 0.0029 -0.1726)
OKLCHoklch(38.66% 0.173 270.9)
XYZxyz(8.1468, 5.1803, 32.9117)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27329E #9E9327
analogous
#276D9E #27329E #57279E
triadic
#27329E #9E2732 #329E27
tetradic
#27329E #9E276D #9E9327 #279E57
square
#27329E #9E276D #9E9327 #279E57
split-complementary
#27329E #9E5727 #6D9E27
monochromatic
#0F133C #1B226D #27329E #3543CD #6671D9

Accessibility & contrast

On white

10.31
#27329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#27329E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27329E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27329E#FFFFFF#000000##FFFFFF
##27329E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27329e;
/* rgb */ color: rgb(39, 50, 158);
/* oklch */ color: oklch(38.7% 0.173 270.9);
Tailwind
colors: {
  custom: {
    50: '#746abc',
    500: '#27329e',
    950: '#000000',
  },
}
SCSS
$custom: #27329e;
$custom-light: #746abc;
$custom-dark: #000000;
JSON
{
  "hex": "#27329e",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 234.454,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38662,
    "c": 0.17262,
    "h": 270.9
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#27329E
secondary
#BFB762
accent
#D544E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #27329E

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

Preview Lab → · Contrast checker → · Palette generator →

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