#27239C#27239C

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

Color values

HEX#27239C
RGBrgb(39, 35, 156)
HSLhsl(242, 63%, 37%)
HSVhsv(242, 78%, 61%)
CMYKcmyk(75%, 77.6%, 0%, 38.8%)
CIE-LABlab(23.78, 42.39, -64.15)
CIE-LCHlch(23.78, 76.89, 303.45°)
OKLaboklab(36.12% 0.0109 -0.1856)
OKLCHoklch(36.12% 0.186 273.4)
XYZxyz(7.4365, 4.0329, 31.8326)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27239C #989C23
analogous
#235C9C #27239C #63239C
triadic
#27239C #9C2723 #239C27
tetradic
#27239C #9C235C #989C23 #239C63
square
#27239C #9C235C #989C23 #239C63
split-complementary
#27239C #9C6323 #5C9C23
monochromatic
#0E0D38 #1B186A #27239C #332ECE #635EDB

Accessibility & contrast

On white

11.62
#27239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#27239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27239C
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27239C#FFFFFF#000000##FFFFFF
##27239C1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27239c;
/* rgb */ color: rgb(39, 35, 156);
/* oklch */ color: oklch(36.1% 0.186 273.4);
Tailwind
colors: {
  custom: {
    50: '#7560ba',
    500: '#27239c',
    950: '#000000',
  },
}
SCSS
$custom: #27239c;
$custom-light: #7560ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27239c",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 241.983,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36122,
    "c": 0.18594,
    "h": 273.4
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#27239C
secondary
#BCC05B
accent
#E641E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27239C

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

Preview Lab → · Contrast checker → · Palette generator →

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