#27258A#27258A

#27258A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.161 H 274.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#27258A
RGBrgb(39, 37, 138)
HSLhsl(241, 58%, 34%)
HSVhsv(241, 73%, 54%)
CMYKcmyk(71.7%, 73.2%, 0%, 45.9%)
CIE-LABlab(22.26, 35.09, -55.53)
CIE-LCHlch(22.26, 65.69, 302.29°)
OKLaboklab(34.47% 0.0134 -0.1605)
OKLCHoklch(34.47% 0.161 274.8)
XYZxyz(6.0842, 3.5889, 24.4119)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27258A #888A25
analogous
#25568A #27258A #5A258A
triadic
#27258A #8A2725 #258A27
tetradic
#27258A #8A2556 #888A25 #258A5A
square
#27258A #8A2556 #888A25 #258A5A
split-complementary
#27258A #8A5A25 #568A25
monochromatic
#0C0B29 #19185A #27258A #3532BA #5A57D2

Accessibility & contrast

On white

12.22
#27258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#27258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27258A
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27258A#FFFFFF#000000##FFFFFF
##27258A1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #27258a;
/* rgb */ color: rgb(39, 37, 138);
/* oklch */ color: oklch(34.5% 0.161 274.8);
Tailwind
colors: {
  custom: {
    50: '#7160ad',
    500: '#27258a',
    950: '#000000',
  },
}
SCSS
$custom: #27258a;
$custom-light: #7160ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27258a",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 241.188,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3447,
    "c": 0.16108,
    "h": 274.8
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#27258A
secondary
#B5B754
accent
#E147DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #27258A

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

Preview Lab → · Contrast checker → · Palette generator →

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