#27259F#27259F

#27259F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.188 H 272.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#27259F
RGBrgb(39, 37, 159)
HSLhsl(241, 62%, 38%)
HSVhsv(241, 77%, 62%)
CMYKcmyk(75.5%, 76.7%, 0%, 37.6%)
CIE-LABlab(24.50, 42.27, -64.79)
CIE-LCHlch(24.50, 77.36, 303.12°)
OKLaboklab(36.73% 0.0094 -0.1875)
OKLCHoklch(36.73% 0.188 272.9)
XYZxyz(7.7542, 4.2569, 33.2072)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27259F #9D9F25
analogous
#25609F #27259F #64259F
triadic
#27259F #9F2725 #259F27
tetradic
#27259F #9F2560 #9D9F25 #259F64
square
#27259F #9F2560 #9D9F25 #259F64
split-complementary
#27259F #9F6425 #609F25
monochromatic
#0F0E3C #1B196D #27259F #3532CF #6664DB

Accessibility & contrast

On white

11.34
#27259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#27259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27259F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27259F#FFFFFF#000000##FFFFFF
##27259F1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #27259f;
/* rgb */ color: rgb(39, 37, 159);
/* oklch */ color: oklch(36.7% 0.188 272.9);
Tailwind
colors: {
  custom: {
    50: '#7662bd',
    500: '#27259f',
    950: '#000000',
  },
}
SCSS
$custom: #27259f;
$custom-light: #7662bd;
$custom-dark: #000000;
JSON
{
  "hex": "#27259f",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 240.984,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36729,
    "c": 0.18773,
    "h": 272.9
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#27259F
secondary
#BFC05F
accent
#E542E3
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27259F

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

Preview Lab → · Contrast checker → · Palette generator →

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