#27239E#27239E

#27239E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.188 H 273.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#27239E
RGBrgb(39, 35, 158)
HSLhsl(242, 64%, 38%)
HSVhsv(242, 78%, 62%)
CMYKcmyk(75.3%, 77.8%, 0%, 38%)
CIE-LABlab(24.00, 43.05, -65.01)
CIE-LCHlch(24.00, 77.97, 303.51°)
OKLaboklab(36.35% 0.0105 -0.1881)
OKLCHoklch(36.35% 0.188 273.2)
XYZxyz(7.6072, 4.1012, 32.7318)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27239E #9A9E23
analogous
#235D9E #27239E #64239E
triadic
#27239E #9E2723 #239E27
tetradic
#27239E #9E235D #9A9E23 #239E64
square
#27239E #9E235D #9A9E23 #239E64
split-complementary
#27239E #9E6423 #5D9E23
monochromatic
#0E0D3A #1B186C #27239E #332ED0 #6460DC

Accessibility & contrast

On white

11.54
#27239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#27239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27239E
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27239E#FFFFFF#000000##FFFFFF
##27239E1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27239e;
/* rgb */ color: rgb(39, 35, 158);
/* oklch */ color: oklch(36.3% 0.188 273.2);
Tailwind
colors: {
  custom: {
    50: '#7660bc',
    500: '#27239e',
    950: '#000000',
  },
}
SCSS
$custom: #27239e;
$custom-light: #7660bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27239e",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 241.951,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36345,
    "c": 0.18839,
    "h": 273.2
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#27239E
secondary
#BDC15C
accent
#E741E1
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27239E

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

Preview Lab → · Contrast checker → · Palette generator →

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