#27327C#27327C

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

Color values

HEX#27327C
RGBrgb(39, 50, 124)
HSLhsl(232, 52%, 32%)
HSVhsv(232, 69%, 49%)
CMYKcmyk(68.5%, 59.7%, 0%, 51.4%)
CIE-LABlab(24.22, 21.38, -43.54)
CIE-LCHlch(24.22, 48.50, 296.15°)
OKLaboklab(35.5% 0.0044 -0.1253)
OKLCHoklch(35.5% 0.125 272)
XYZxyz(5.6142, 4.1673, 19.5734)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27327C #7C7127
analogous
#275D7C #27327C #47277C
triadic
#27327C #7C2732 #327C27
tetradic
#27327C #7C275D #7C7127 #277C47
square
#27327C #7C275D #7C7127 #277C47
split-complementary
#27327C #7C4727 #5D7C27
monochromatic
#0A0C1F #181F4D #27327C #3645AB #5463C9

Accessibility & contrast

On white

11.45
#27327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#27327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27327C
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27327C#FFFFFF#000000##FFFFFF
##27327C1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27327c;
/* rgb */ color: rgb(39, 50, 124);
/* oklch */ color: oklch(35.5% 0.125 272.0);
Tailwind
colors: {
  custom: {
    50: '#6c69a3',
    500: '#27327c',
    950: '#000000',
  },
}
SCSS
$custom: #27327c;
$custom-light: #6c69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27327c",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 232.235,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35502,
    "c": 0.12539,
    "h": 272
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27327C

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

Preview Lab → · Contrast checker → · Palette generator →

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