#27209C#27209C

#27209C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.189 H 273.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#27209C
RGBrgb(39, 32, 156)
HSLhsl(243, 66%, 37%)
HSVhsv(243, 79%, 61%)
CMYKcmyk(75%, 79.5%, 0%, 38.8%)
CIE-LABlab(23.22, 44.00, -65.09)
CIE-LCHlch(23.22, 78.57, 304.06°)
OKLaboklab(35.73% 0.0122 -0.1883)
OKLCHoklch(35.73% 0.189 273.7)
XYZxyz(7.3520, 3.8639, 31.8044)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27209C #959C20
analogous
#20579C #27209C #65209C
triadic
#27209C #9C2720 #209C27
tetradic
#27209C #9C2057 #959C20 #209C65
square
#27209C #9C2057 #959C20 #209C65
split-complementary
#27209C #9C6520 #579C20
monochromatic
#0E0B36 #1A1669 #27209C #342ACF #6159DD

Accessibility & contrast

On white

11.84
#27209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#27209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27209C
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27209C#FFFFFF#000000##FFFFFF
##27209C1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00319A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #27209c;
/* rgb */ color: rgb(39, 32, 156);
/* oklch */ color: oklch(35.7% 0.189 273.7);
Tailwind
colors: {
  custom: {
    50: '#755ebb',
    500: '#27209c',
    950: '#000000',
  },
}
SCSS
$custom: #27209c;
$custom-light: #755ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#27209c",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 243.387,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35726,
    "c": 0.18868,
    "h": 273.7
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#27209C
secondary
#BBC157
accent
#E93FDF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27209C

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

Preview Lab → · Contrast checker → · Palette generator →

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