#27327D#27327D

#27327D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.127 H 272.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#27327D
RGBrgb(39, 50, 125)
HSLhsl(232, 52%, 32%)
HSVhsv(232, 69%, 49%)
CMYKcmyk(68.8%, 60%, 0%, 51%)
CIE-LABlab(24.30, 21.75, -44.03)
CIE-LCHlch(24.30, 49.12, 296.29°)
OKLaboklab(35.59% 0.0044 -0.1268)
OKLCHoklch(35.59% 0.127 272)
XYZxyz(5.6777, 4.1927, 19.9081)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27327D #7D7227
analogous
#275D7D #27327D #47277D
triadic
#27327D #7D2732 #327D27
tetradic
#27327D #7D275D #7D7227 #277D47
square
#27327D #7D275D #7D7227 #277D47
split-complementary
#27327D #7D4727 #5D7D27
monochromatic
#0A0D20 #181F4E #27327D #3645AC #5564CA

Accessibility & contrast

On white

11.42
#27327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#27327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27327D
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27327D#FFFFFF#000000##FFFFFF
##27327D1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #27327d;
/* rgb */ color: rgb(39, 50, 125);
/* oklch */ color: oklch(35.6% 0.127 272.0);
Tailwind
colors: {
  custom: {
    50: '#6c69a3',
    500: '#27327d',
    950: '#000000',
  },
}
SCSS
$custom: #27327d;
$custom-light: #6c69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27327d",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 232.326,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35588,
    "c": 0.12685,
    "h": 272
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#27327D
secondary
#AFA351
accent
#C94CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #27327D

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

Preview Lab → · Contrast checker → · Palette generator →

#27327D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva