#27328C#27328C

#27328C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.148 H 271.6°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#27328C
RGBrgb(39, 50, 140)
HSLhsl(233, 56%, 35%)
HSVhsv(233, 72%, 55%)
CMYKcmyk(72.1%, 64.3%, 0%, 45.1%)
CIE-LABlab(25.58, 27.42, -51.33)
CIE-LCHlch(25.58, 58.20, 298.11°)
OKLaboklab(36.94% 0.0041 -0.1482)
OKLCHoklch(36.94% 0.148 271.6)
XYZxyz(6.7093, 4.6053, 25.3412)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27328C #8C8127
analogous
#27658C #27328C #4E278C
triadic
#27328C #8C2732 #328C27
tetradic
#27328C #8C2765 #8C8127 #278C4E
square
#27328C #8C2765 #8C8127 #278C4E
split-complementary
#27328C #8C4E27 #658C27
monochromatic
#0C102C #1A215C #27328C #3443BC #5C69D2

Accessibility & contrast

On white

10.93
#27328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#27328C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27328C
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27328C#FFFFFF#000000##FFFFFF
##27328C1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #27328c;
/* rgb */ color: rgb(39, 50, 140);
/* oklch */ color: oklch(36.9% 0.148 271.6);
Tailwind
colors: {
  custom: {
    50: '#706aae',
    500: '#27328c',
    950: '#000000',
  },
}
SCSS
$custom: #27328c;
$custom-light: #706aae;
$custom-dark: #000000;
JSON
{
  "hex": "#27328c",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 233.465,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36936,
    "c": 0.14827,
    "h": 271.6
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#27328C
secondary
#B7AC58
accent
#CF48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #27328C

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

Preview Lab → · Contrast checker → · Palette generator →

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