#27259C#27259C

#27259C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.184 H 273.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#27259C
RGBrgb(39, 37, 156)
HSLhsl(241, 62%, 38%)
HSVhsv(241, 76%, 61%)
CMYKcmyk(75%, 76.3%, 0%, 38.8%)
CIE-LABlab(24.17, 41.27, -63.50)
CIE-LCHlch(24.17, 75.73, 303.02°)
OKLaboklab(36.4% 0.01 -0.1837)
OKLCHoklch(36.4% 0.184 273.1)
XYZxyz(7.4970, 4.1540, 31.8527)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27259C #9A9C25
analogous
#255F9C #27259C #62259C
triadic
#27259C #9C2725 #259C27
tetradic
#27259C #9C255F #9A9C25 #259C62
square
#27259C #9C255F #9A9C25 #259C62
split-complementary
#27259C #9C6225 #5F9C25
monochromatic
#0E0E39 #1B196B #27259C #3331CD #6462DA

Accessibility & contrast

On white

11.47
#27259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#27259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27259C
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27259C#FFFFFF#000000##FFFFFF
##27259C1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27259c;
/* rgb */ color: rgb(39, 37, 156);
/* oklch */ color: oklch(36.4% 0.184 273.1);
Tailwind
colors: {
  custom: {
    50: '#7561ba',
    500: '#27259c',
    950: '#000000',
  },
}
SCSS
$custom: #27259c;
$custom-light: #7561ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27259c",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 241.008,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.364,
    "c": 0.18402,
    "h": 273.1
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

primary
#27259C
secondary
#BDBF5E
accent
#E543E2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27259C

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

Preview Lab → · Contrast checker → · Palette generator →

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