#27328E#27328E

#27328E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.151 H 271.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#27328E
RGBrgb(39, 50, 142)
HSLhsl(234, 57%, 35%)
HSVhsv(234, 73%, 56%)
CMYKcmyk(72.5%, 64.8%, 0%, 44.3%)
CIE-LABlab(25.76, 28.17, -52.28)
CIE-LCHlch(25.76, 59.39, 298.31°)
OKLaboklab(37.12% 0.004 -0.151)
OKLCHoklch(37.12% 0.151 271.5)
XYZxyz(6.8581, 4.6649, 26.1249)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27328E #8E8327
analogous
#27658E #27328E #4F278E
triadic
#27328E #8E2732 #328E27
tetradic
#27328E #8E2765 #8E8327 #278E4F
square
#27328E #8E2765 #8E8327 #278E4F
split-complementary
#27328E #8E4F27 #658E27
monochromatic
#0D102E #1A215E #27328E #3443BE #5D69D2

Accessibility & contrast

On white

10.86
#27328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#27328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27328E
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27328E#FFFFFF#000000##FFFFFF
##27328E1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #27328e;
/* rgb */ color: rgb(39, 50, 142);
/* oklch */ color: oklch(37.1% 0.151 271.5);
Tailwind
colors: {
  custom: {
    50: '#706ab0',
    500: '#27328e',
    950: '#000000',
  },
}
SCSS
$custom: #27328e;
$custom-light: #706ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#27328e",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 233.592,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37122,
    "c": 0.15104,
    "h": 271.5
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#27328E
secondary
#B8AE59
accent
#D048E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #27328E

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

Preview Lab → · Contrast checker → · Palette generator →

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