#27259B#27259B

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

Color values

HEX#27259B
RGBrgb(39, 37, 155)
HSLhsl(241, 61%, 38%)
HSVhsv(241, 76%, 61%)
CMYKcmyk(74.8%, 76.1%, 0%, 39.2%)
CIE-LABlab(24.07, 40.93, -63.07)
CIE-LCHlch(24.07, 75.19, 302.98°)
OKLaboklab(36.29% 0.0102 -0.1825)
OKLCHoklch(36.29% 0.183 273.2)
XYZxyz(7.4127, 4.1203, 31.4086)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27259B #999B25
analogous
#255E9B #27259B #62259B
triadic
#27259B #9B2725 #259B27
tetradic
#27259B #9B255E #999B25 #259B62
square
#27259B #9B255E #999B25 #259B62
split-complementary
#27259B #9B6225 #5E9B25
monochromatic
#0E0D38 #1B196A #27259B #3331CC #6361D9

Accessibility & contrast

On white

11.51
#27259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#27259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27259B
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27259B#FFFFFF#000000##FFFFFF
##27259B1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27259b;
/* rgb */ color: rgb(39, 37, 155);
/* oklch */ color: oklch(36.3% 0.183 273.2);
Tailwind
colors: {
  custom: {
    50: '#7561ba',
    500: '#27259b',
    950: '#000000',
  },
}
SCSS
$custom: #27259b;
$custom-light: #7561ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27259b",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 241.017,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3629,
    "c": 0.18278,
    "h": 273.2
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27259B

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

Preview Lab → · Contrast checker → · Palette generator →

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