#27256E#27256E

#27256E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.123 H 278.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#27256E
RGBrgb(39, 37, 110)
HSLhsl(242, 50%, 29%)
HSVhsv(242, 66%, 43%)
CMYKcmyk(64.5%, 66.4%, 0%, 56.9%)
CIE-LABlab(19.56, 25.06, -42.17)
CIE-LCHlch(19.56, 49.05, 300.73°)
OKLaboklab(31.69% 0.0171 -0.1214)
OKLCHoklch(31.69% 0.123 278)
XYZxyz(4.3118, 2.8799, 15.0775)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27256E #6C6E25
analogous
#25486E #27256E #4C256E
triadic
#27256E #6E2725 #256E27
tetradic
#27256E #6E2548 #6C6E25 #256E4C
square
#27256E #6E2548 #6C6E25 #256E4C
split-complementary
#27256E #6E4C25 #486E25
monochromatic
#080817 #171640 #27256E #37349C #4E4BC2

Accessibility & contrast

On white

13.32
#27256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#27256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27256E
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27256E#FFFFFF#000000##FFFFFF
##27256E1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27256e;
/* rgb */ color: rgb(39, 37, 110);
/* oklch */ color: oklch(31.7% 0.123 278.0);
Tailwind
colors: {
  custom: {
    50: '#6a6098',
    500: '#27256e',
    950: '#000000',
  },
}
SCSS
$custom: #27256e;
$custom-light: #6a6098;
$custom-dark: #000000;
JSON
{
  "hex": "#27256e",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 241.644,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31686,
    "c": 0.12259,
    "h": 278
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#27256E
secondary
#9FA14E
accent
#D94FD5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #27256E

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

Preview Lab → · Contrast checker → · Palette generator →

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