#27259A#27259A

#27259A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.182 H 273.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#27259A
RGBrgb(39, 37, 154)
HSLhsl(241, 61%, 37%)
HSVhsv(241, 76%, 60%)
CMYKcmyk(74.7%, 76%, 0%, 39.6%)
CIE-LABlab(23.96, 40.59, -62.64)
CIE-LCHlch(23.96, 74.64, 302.95°)
OKLaboklab(36.18% 0.0104 -0.1812)
OKLCHoklch(36.18% 0.182 273.3)
XYZxyz(7.3291, 4.0868, 30.9682)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27259A #989A25
analogous
#255D9A #27259A #62259A
triadic
#27259A #9A2725 #259A27
tetradic
#27259A #9A255D #989A25 #259A62
square
#27259A #9A255D #989A25 #259A62
split-complementary
#27259A #9A6225 #5D9A25
monochromatic
#0E0D37 #1B1969 #27259A #3331CB #6360D9

Accessibility & contrast

On white

11.55
#27259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27259A
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27259A#FFFFFF#000000##FFFFFF
##27259A1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27259a;
/* rgb */ color: rgb(39, 37, 154);
/* oklch */ color: oklch(36.2% 0.182 273.3);
Tailwind
colors: {
  custom: {
    50: '#7561b9',
    500: '#27259a',
    950: '#000000',
  },
}
SCSS
$custom: #27259a;
$custom-light: #7561b9;
$custom-dark: #000000;
JSON
{
  "hex": "#27259a",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 241.026,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36181,
    "c": 0.18153,
    "h": 273.3
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#27259A
secondary
#BCBE5D
accent
#E443E2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #27259A

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

Preview Lab → · Contrast checker → · Palette generator →

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