#27328F#27328F

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

Color values

HEX#27328F
RGBrgb(39, 50, 143)
HSLhsl(234, 57%, 36%)
HSVhsv(234, 73%, 56%)
CMYKcmyk(72.7%, 65%, 0%, 43.9%)
CIE-LABlab(25.85, 28.54, -52.75)
CIE-LCHlch(25.85, 59.98, 298.41°)
OKLaboklab(37.22% 0.004 -0.1524)
OKLCHoklch(37.22% 0.152 271.5)
XYZxyz(6.9335, 4.6950, 26.5221)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27328F #8F8427
analogous
#27668F #27328F #50278F
triadic
#27328F #8F2732 #328F27
tetradic
#27328F #8F2766 #8F8427 #278F50
square
#27328F #8F2766 #8F8427 #278F50
split-complementary
#27328F #8F5027 #668F27
monochromatic
#0D102F #1A215F #27328F #3443BF #5D6AD3

Accessibility & contrast

On white

10.83
#27328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#27328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27328F
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27328F#FFFFFF#000000##FFFFFF
##27328F1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27328f;
/* rgb */ color: rgb(39, 50, 143);
/* oklch */ color: oklch(37.2% 0.152 271.5);
Tailwind
colors: {
  custom: {
    50: '#716ab1',
    500: '#27328f',
    950: '#000000',
  },
}
SCSS
$custom: #27328f;
$custom-light: #716ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#27328f",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 233.654,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37216,
    "c": 0.15242,
    "h": 271.5
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

primary
#27328F
secondary
#B8AE5A
accent
#D047E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #27328F

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

Preview Lab → · Contrast checker → · Palette generator →

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