#27239A#27239A

#27239A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.183 H 273.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#27239A
RGBrgb(39, 35, 154)
HSLhsl(242, 63%, 37%)
HSVhsv(242, 77%, 60%)
CMYKcmyk(74.7%, 77.3%, 0%, 39.6%)
CIE-LABlab(23.56, 41.72, -63.30)
CIE-LCHlch(23.56, 75.81, 303.39°)
OKLaboklab(35.9% 0.0113 -0.1831)
OKLCHoklch(35.9% 0.183 273.5)
XYZxyz(7.2685, 3.9658, 30.9480)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27239A #969A23
analogous
#235B9A #27239A #63239A
triadic
#27239A #9A2723 #239A27
tetradic
#27239A #9A235B #969A23 #239A63
square
#27239A #9A235B #969A23 #239A63
split-complementary
#27239A #9A6323 #5B9A23
monochromatic
#0E0C36 #1A1868 #27239A #342ECC #615DDA

Accessibility & contrast

On white

11.71
#27239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#27239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27239A
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27239A#FFFFFF#000000##FFFFFF
##27239A1.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)
#003E9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #27239a;
/* rgb */ color: rgb(39, 35, 154);
/* oklch */ color: oklch(35.9% 0.183 273.5);
Tailwind
colors: {
  custom: {
    50: '#7560b9',
    500: '#27239a',
    950: '#000000',
  },
}
SCSS
$custom: #27239a;
$custom-light: #7560b9;
$custom-dark: #000000;
JSON
{
  "hex": "#27239a",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 242.017,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35899,
    "c": 0.18348,
    "h": 273.5
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#27239A
secondary
#BCBF5A
accent
#E642E0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27239A

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

Preview Lab → · Contrast checker → · Palette generator →

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