#27209F#27209F

#27209F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.192 H 273.4°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#27209F
RGBrgb(39, 32, 159)
HSLhsl(243, 66%, 37%)
HSVhsv(243, 80%, 62%)
CMYKcmyk(75.5%, 79.9%, 0%, 37.6%)
CIE-LABlab(23.56, 44.97, -66.35)
CIE-LCHlch(23.56, 80.15, 304.13°)
OKLaboklab(36.07% 0.0115 -0.192)
OKLCHoklch(36.07% 0.192 273.4)
XYZxyz(7.6091, 3.9668, 33.1588)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27209F #989F20
analogous
#20599F #27209F #66209F
triadic
#27209F #9F2720 #209F27
tetradic
#27209F #9F2059 #989F20 #209F66
square
#27209F #9F2059 #989F20 #209F66
split-complementary
#27209F #9F6620 #599F20
monochromatic
#0E0B39 #1B166C #27209F #332AD2 #635BDE

Accessibility & contrast

On white

11.71
#27209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#27209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27209F
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27209F#FFFFFF#000000##FFFFFF
##27209F1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #27209f;
/* rgb */ color: rgb(39, 32, 159);
/* oklch */ color: oklch(36.1% 0.192 273.4);
Tailwind
colors: {
  custom: {
    50: '#765fbd',
    500: '#27209f',
    950: '#000000',
  },
}
SCSS
$custom: #27209f;
$custom-light: #765fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#27209f",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 243.307,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36068,
    "c": 0.1923,
    "h": 273.4
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#27209F
secondary
#BCC259
accent
#E93EE0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27209F

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

Preview Lab → · Contrast checker → · Palette generator →

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