#27327E#27327E

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

Color values

HEX#27327E
RGBrgb(39, 50, 126)
HSLhsl(232, 53%, 32%)
HSVhsv(232, 69%, 49%)
CMYKcmyk(69%, 60.3%, 0%, 50.6%)
CIE-LABlab(24.38, 22.13, -44.53)
CIE-LCHlch(24.38, 49.73, 296.43°)
OKLaboklab(35.68% 0.0044 -0.1282)
OKLCHoklch(35.68% 0.128 272)
XYZxyz(5.7419, 4.2184, 20.2462)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27327E #7E7327
analogous
#275D7E #27327E #48277E
triadic
#27327E #7E2732 #327E27
tetradic
#27327E #7E275D #7E7327 #277E48
square
#27327E #7E275D #7E7327 #277E48
split-complementary
#27327E #7E4827 #5D7E27
monochromatic
#0A0D21 #191F4F #27327E #3545AD #5564CA

Accessibility & contrast

On white

11.39
#27327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27327E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27327E#FFFFFF#000000##FFFFFF
##27327E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27327e;
/* rgb */ color: rgb(39, 50, 126);
/* oklch */ color: oklch(35.7% 0.128 272.0);
Tailwind
colors: {
  custom: {
    50: '#6d69a4',
    500: '#27327e',
    950: '#000000',
  },
}
SCSS
$custom: #27327e;
$custom-light: #6d69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#27327e",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 232.414,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35675,
    "c": 0.12832,
    "h": 272
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#27327E
secondary
#AFA352
accent
#CA4CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #27327E

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

Preview Lab → · Contrast checker → · Palette generator →

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