#27296A#27296A

#27296A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.111 H 276.8°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#27296A
RGBrgb(39, 41, 106)
HSLhsl(238, 46%, 28%)
HSVhsv(238, 63%, 42%)
CMYKcmyk(63.2%, 61.3%, 0%, 58.4%)
CIE-LABlab(20.27, 20.85, -38.41)
CIE-LCHlch(20.27, 43.70, 298.49°)
OKLaboklab(32.1% 0.0132 -0.1103)
OKLCHoklch(32.1% 0.111 276.8)
XYZxyz(4.2303, 3.0575, 14.0001)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27296A #6A6827
analogous
#274A6A #27296A #46276A
triadic
#27296A #6A2729 #296A27
tetradic
#27296A #6A274A #6A6827 #276A46
square
#27296A #6A274A #6A6827 #276A46
split-complementary
#27296A #6A4627 #4A6A27
monochromatic
#080916 #17183D #27296A #373A97 #4E51BE

Accessibility & contrast

On white

13.03
#27296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#27296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27296A
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27296A#FFFFFF#000000##FFFFFF
##27296A1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #27296a;
/* rgb */ color: rgb(39, 41, 106);
/* oklch */ color: oklch(32.1% 0.111 276.8);
Tailwind
colors: {
  custom: {
    50: '#696295',
    500: '#27296a',
    950: '#000000',
  },
}
SCSS
$custom: #27296a;
$custom-light: #696295;
$custom-dark: #000000;
JSON
{
  "hex": "#27296a",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 238.209,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32105,
    "c": 0.1111,
    "h": 276.8
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#27296A
secondary
#9D9A50
accent
#D252D6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #27296A

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

Preview Lab → · Contrast checker → · Palette generator →

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