#27258C#27258C

#27258C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.164 H 274.6°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#27258C
RGBrgb(39, 37, 140)
HSLhsl(241, 58%, 35%)
HSVhsv(241, 74%, 55%)
CMYKcmyk(72.1%, 73.6%, 0%, 45.1%)
CIE-LABlab(22.47, 35.79, -56.44)
CIE-LCHlch(22.47, 66.83, 302.38°)
OKLaboklab(34.68% 0.013 -0.1632)
OKLCHoklch(34.68% 0.164 274.6)
XYZxyz(6.2303, 3.6473, 25.1815)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27258C #8A8C25
analogous
#25578C #27258C #5B258C
triadic
#27258C #8C2725 #258C27
tetradic
#27258C #8C2557 #8A8C25 #258C5B
square
#27258C #8C2557 #8A8C25 #258C5B
split-complementary
#27258C #8C5B25 #578C25
monochromatic
#0C0B2B #1A185C #27258C #3432BC #5B58D3

Accessibility & contrast

On white

12.14
#27258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#27258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27258C
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27258C#FFFFFF#000000##FFFFFF
##27258C1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #27258c;
/* rgb */ color: rgb(39, 37, 140);
/* oklch */ color: oklch(34.7% 0.164 274.6);
Tailwind
colors: {
  custom: {
    50: '#7161af',
    500: '#27258c',
    950: '#000000',
  },
}
SCSS
$custom: #27258c;
$custom-light: #7161af;
$custom-dark: #000000;
JSON
{
  "hex": "#27258c",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 241.165,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3468,
    "c": 0.16369,
    "h": 274.6
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#27258C
secondary
#B6B855
accent
#E146DE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #27258C

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

Preview Lab → · Contrast checker → · Palette generator →

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