#27296E#27296E

#27296E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.5% C 0.117 H 276.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#27296E
RGBrgb(39, 41, 110)
HSLhsl(238, 48%, 29%)
HSVhsv(238, 65%, 43%)
CMYKcmyk(64.5%, 62.7%, 0%, 56.9%)
CIE-LABlab(20.61, 22.33, -40.46)
CIE-LCHlch(20.61, 46.21, 298.90°)
OKLaboklab(32.46% 0.0131 -0.1163)
OKLCHoklch(32.46% 0.117 276.4)
XYZxyz(4.4432, 3.1427, 15.1213)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27296E #6E6C27
analogous
#274D6E #27296E #49276E
triadic
#27296E #6E2729 #296E27
tetradic
#27296E #6E274D #6E6C27 #276E49
square
#27296E #6E274D #6E6C27 #276E49
split-complementary
#27296E #6E4927 #4D6E27
monochromatic
#080817 #171841 #27296E #373A9B #4F52C1

Accessibility & contrast

On white

12.89
#27296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#27296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27296E
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27296E#FFFFFF#000000##FFFFFF
##27296E1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #27296e;
/* rgb */ color: rgb(39, 41, 110);
/* oklch */ color: oklch(32.5% 0.117 276.4);
Tailwind
colors: {
  custom: {
    50: '#6a6298',
    500: '#27296e',
    950: '#000000',
  },
}
SCSS
$custom: #27296e;
$custom-light: #6a6298;
$custom-dark: #000000;
JSON
{
  "hex": "#27296e",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 238.31,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32457,
    "c": 0.11709,
    "h": 276.4
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#27296E
secondary
#A19E50
accent
#D351D7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #27296E

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

Preview Lab → · Contrast checker → · Palette generator →

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