#27259E#27259E

#27259E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.186 H 273.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#27259E
RGBrgb(39, 37, 158)
HSLhsl(241, 62%, 38%)
HSVhsv(241, 77%, 62%)
CMYKcmyk(75.3%, 76.6%, 0%, 38%)
CIE-LABlab(24.39, 41.94, -64.36)
CIE-LCHlch(24.39, 76.82, 303.09°)
OKLaboklab(36.62% 0.0096 -0.1862)
OKLCHoklch(36.62% 0.187 273)
XYZxyz(7.6678, 4.2223, 32.7520)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27259E #9C9E25
analogous
#255F9E #27259E #63259E
triadic
#27259E #9E2725 #259E27
tetradic
#27259E #9E255F #9C9E25 #259E63
square
#27259E #9E255F #9C9E25 #259E63
split-complementary
#27259E #9E6325 #5F9E25
monochromatic
#0F0E3B #1B196C #27259E #3431CF #6563DA

Accessibility & contrast

On white

11.38
#27259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#27259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27259E
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27259E#FFFFFF#000000##FFFFFF
##27259E1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27259e;
/* rgb */ color: rgb(39, 37, 158);
/* oklch */ color: oklch(36.6% 0.186 273.0);
Tailwind
colors: {
  custom: {
    50: '#7561bc',
    500: '#27259e',
    950: '#000000',
  },
}
SCSS
$custom: #27259e;
$custom-light: #7561bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27259e",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 240.992,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36619,
    "c": 0.1865,
    "h": 273
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#27259E
secondary
#BEC05F
accent
#E543E2
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27259E

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

Preview Lab → · Contrast checker → · Palette generator →

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