#27327A#27327A

#27327A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.122 H 272.0°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#27327A
RGBrgb(39, 50, 122)
HSLhsl(232, 52%, 32%)
HSVhsv(232, 68%, 48%)
CMYKcmyk(68%, 59%, 0%, 52.2%)
CIE-LABlab(24.06, 20.61, -42.53)
CIE-LCHlch(24.06, 47.26, 295.86°)
OKLaboklab(35.33% 0.0043 -0.1224)
OKLCHoklch(35.33% 0.122 272)
XYZxyz(5.4890, 4.1172, 18.9140)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27327A #7A6F27
analogous
#275C7A #27327A #46277A
triadic
#27327A #7A2732 #327A27
tetradic
#27327A #7A275C #7A6F27 #277A46
square
#27327A #7A275C #7A6F27 #277A46
split-complementary
#27327A #7A4627 #5C7A27
monochromatic
#090C1D #181F4C #27327A #3645A8 #5363C8

Accessibility & contrast

On white

11.52
#27327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#27327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27327A
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27327A#FFFFFF#000000##FFFFFF
##27327A1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27327a;
/* rgb */ color: rgb(39, 50, 122);
/* oklch */ color: oklch(35.3% 0.122 272.0);
Tailwind
colors: {
  custom: {
    50: '#6c69a1',
    500: '#27327a',
    950: '#000000',
  },
}
SCSS
$custom: #27327a;
$custom-light: #6c69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#27327a",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 232.048,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3533,
    "c": 0.12244,
    "h": 272
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#27327A
secondary
#ACA051
accent
#C84DDB
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #27327A

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

Preview Lab → · Contrast checker → · Palette generator →

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