#27239F#27239F

#27239F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.190 H 273.1°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#27239F
RGBrgb(39, 35, 159)
HSLhsl(242, 64%, 38%)
HSVhsv(242, 78%, 62%)
CMYKcmyk(75.5%, 78%, 0%, 37.6%)
CIE-LABlab(24.12, 43.38, -65.43)
CIE-LCHlch(24.12, 78.50, 303.54°)
OKLaboklab(36.46% 0.0103 -0.1893)
OKLCHoklch(36.46% 0.19 273.1)
XYZxyz(7.6936, 4.1358, 33.1870)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27239F #9B9F23
analogous
#235D9F #27239F #65239F
triadic
#27239F #9F2723 #239F27
tetradic
#27239F #9F235D #9B9F23 #239F65
square
#27239F #9F235D #9B9F23 #239F65
split-complementary
#27239F #9F6523 #5D9F23
monochromatic
#0E0D3B #1B186D #27239F #332ED1 #6460DC

Accessibility & contrast

On white

11.49
#27239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#27239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27239F
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27239F#FFFFFF#000000##FFFFFF
##27239F1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27239f;
/* rgb */ color: rgb(39, 35, 159);
/* oklch */ color: oklch(36.5% 0.190 273.1);
Tailwind
colors: {
  custom: {
    50: '#7660bd',
    500: '#27239f',
    950: '#000000',
  },
}
SCSS
$custom: #27239f;
$custom-light: #7660bd;
$custom-dark: #000000;
JSON
{
  "hex": "#27239f",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 241.935,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36456,
    "c": 0.18962,
    "h": 273.1
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#27239F
secondary
#BEC15D
accent
#E741E2
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27239F

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

Preview Lab → · Contrast checker → · Palette generator →

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