#27256A#27256A

#27256A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.3% C 0.117 H 278.5°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#27256A
RGBrgb(39, 37, 106)
HSLhsl(242, 48%, 28%)
HSVhsv(242, 65%, 42%)
CMYKcmyk(63.2%, 65.1%, 0%, 58.4%)
CIE-LABlab(19.20, 23.61, -40.15)
CIE-LCHlch(19.20, 46.57, 300.46°)
OKLaboklab(31.32% 0.0173 -0.1155)
OKLCHoklch(31.32% 0.117 278.5)
XYZxyz(4.0990, 2.7948, 13.9563)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27256A #686A25
analogous
#25456A #27256A #49256A
triadic
#27256A #6A2725 #256A27
tetradic
#27256A #6A2545 #686A25 #256A49
square
#27256A #6A2545 #686A25 #256A49
split-complementary
#27256A #6A4925 #456A25
monochromatic
#080817 #16153D #27256A #383597 #4D4AC0

Accessibility & contrast

On white

13.47
#27256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#27256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27256A
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27256A#FFFFFF#000000##FFFFFF
##27256A1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27256a;
/* rgb */ color: rgb(39, 37, 106);
/* oklch */ color: oklch(31.3% 0.117 278.5);
Tailwind
colors: {
  custom: {
    50: '#695f95',
    500: '#27256a',
    950: '#000000',
  },
}
SCSS
$custom: #27256a;
$custom-light: #695f95;
$custom-dark: #000000;
JSON
{
  "hex": "#27256a",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 241.739,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31316,
    "c": 0.11676,
    "h": 278.5
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#27256A
secondary
#9B9D4E
accent
#D850D4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #27256A

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

Preview Lab → · Contrast checker → · Palette generator →

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