#27328A#27328A

#27328A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.145 H 271.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#27328A
RGBrgb(39, 50, 138)
HSLhsl(233, 56%, 35%)
HSVhsv(233, 72%, 54%)
CMYKcmyk(71.7%, 63.8%, 0%, 45.9%)
CIE-LABlab(25.40, 26.67, -50.38)
CIE-LCHlch(25.40, 57.00, 297.90°)
OKLaboklab(36.75% 0.0042 -0.1454)
OKLCHoklch(36.75% 0.145 271.7)
XYZxyz(6.5632, 4.5469, 24.5716)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27328A #8A7F27
analogous
#27648A #27328A #4D278A
triadic
#27328A #8A2732 #328A27
tetradic
#27328A #8A2764 #8A7F27 #278A4D
square
#27328A #8A2764 #8A7F27 #278A4D
split-complementary
#27328A #8A4D27 #648A27
monochromatic
#0C0F2B #1A215A #27328A #3443BA #5B68D1

Accessibility & contrast

On white

11.00
#27328A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#27328A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27328A
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27328A#FFFFFF#000000##FFFFFF
##27328A1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #27328a;
/* rgb */ color: rgb(39, 50, 138);
/* oklch */ color: oklch(36.8% 0.145 271.7);
Tailwind
colors: {
  custom: {
    50: '#6f69ad',
    500: '#27328a',
    950: '#000000',
  },
}
SCSS
$custom: #27328a;
$custom-light: #6f69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27328a",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 138
  },
  "hsl": {
    "h": 233.333,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36751,
    "c": 0.14547,
    "h": 271.7
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#27328A
secondary
#B6AB57
accent
#CE49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #27328A

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

Preview Lab → · Contrast checker → · Palette generator →

#27328A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva