#27327F#27327F

#27327F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.130 H 271.9°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#27327F
RGBrgb(39, 50, 127)
HSLhsl(233, 53%, 33%)
HSVhsv(233, 69%, 50%)
CMYKcmyk(69.3%, 60.6%, 0%, 50.2%)
CIE-LABlab(24.46, 22.52, -45.03)
CIE-LCHlch(24.46, 50.34, 296.57°)
OKLaboklab(35.76% 0.0044 -0.1297)
OKLCHoklch(35.76% 0.13 271.9)
XYZxyz(5.8068, 4.2443, 20.5878)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27327F #7F7427
analogous
#275E7F #27327F #48277F
triadic
#27327F #7F2732 #327F27
tetradic
#27327F #7F275E #7F7427 #277F48
square
#27327F #7F275E #7F7427 #277F48
split-complementary
#27327F #7F4827 #5E7F27
monochromatic
#0A0D21 #192050 #27327F #3544AE #5564CB

Accessibility & contrast

On white

11.36
#27327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#27327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27327F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27327F#FFFFFF#000000##FFFFFF
##27327F1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #27327f;
/* rgb */ color: rgb(39, 50, 127);
/* oklch */ color: oklch(35.8% 0.130 271.9);
Tailwind
colors: {
  custom: {
    50: '#6d69a5',
    500: '#27327f',
    950: '#000000',
  },
}
SCSS
$custom: #27327f;
$custom-light: #6d69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#27327f",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 232.5,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35762,
    "c": 0.12976,
    "h": 271.9
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#27327F
secondary
#B0A452
accent
#CA4BDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #27327F

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

Preview Lab → · Contrast checker → · Palette generator →

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