#27258E#27258E

#27258E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.166 H 274.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#27258E
RGBrgb(39, 37, 142)
HSLhsl(241, 59%, 35%)
HSVhsv(241, 74%, 56%)
CMYKcmyk(72.5%, 73.9%, 0%, 44.3%)
CIE-LABlab(22.68, 36.48, -57.34)
CIE-LCHlch(22.68, 67.96, 302.47°)
OKLaboklab(34.89% 0.0127 -0.1658)
OKLCHoklch(34.89% 0.166 274.4)
XYZxyz(6.3791, 3.7068, 25.9652)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27258E #8C8E25
analogous
#25578E #27258E #5C258E
triadic
#27258E #8E2725 #258E27
tetradic
#27258E #8E2557 #8C8E25 #258E5C
square
#27258E #8E2557 #8C8E25 #258E5C
split-complementary
#27258E #8E5C25 #578E25
monochromatic
#0C0C2D #1A185D #27258E #3432BF #5C5AD4

Accessibility & contrast

On white

12.06
#27258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#27258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27258E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27258E#FFFFFF#000000##FFFFFF
##27258E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #27258e;
/* rgb */ color: rgb(39, 37, 142);
/* oklch */ color: oklch(34.9% 0.166 274.4);
Tailwind
colors: {
  custom: {
    50: '#7261b0',
    500: '#27258e',
    950: '#000000',
  },
}
SCSS
$custom: #27258e;
$custom-light: #7261b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27258e",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 241.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34891,
    "c": 0.16628,
    "h": 274.4
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#27258E
secondary
#B7B956
accent
#E246DF
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #27258E

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

Preview Lab → · Contrast checker → · Palette generator →

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