#27296C#27296C

#27296C is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.3% C 0.114 H 276.6°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#27296C
RGBrgb(39, 41, 108)
HSLhsl(238, 47%, 29%)
HSVhsv(238, 64%, 42%)
CMYKcmyk(63.9%, 62%, 0%, 57.6%)
CIE-LABlab(20.44, 21.59, -39.44)
CIE-LCHlch(20.44, 44.96, 298.70°)
OKLaboklab(32.28% 0.0132 -0.1133)
OKLCHoklch(32.28% 0.114 276.6)
XYZxyz(4.3355, 3.0996, 14.5543)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27296C #6C6A27
analogous
#274C6C #27296C #48276C
triadic
#27296C #6C2729 #296C27
tetradic
#27296C #6C274C #6C6A27 #276C48
square
#27296C #6C274C #6C6A27 #276C48
split-complementary
#27296C #6C4827 #4C6C27
monochromatic
#080916 #17183F #27296C #373A99 #4E52BF

Accessibility & contrast

On white

12.96
#27296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#27296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27296C
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27296C#FFFFFF#000000##FFFFFF
##27296C1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #27296c;
/* rgb */ color: rgb(39, 41, 108);
/* oklch */ color: oklch(32.3% 0.114 276.6);
Tailwind
colors: {
  custom: {
    50: '#696297',
    500: '#27296c',
    950: '#000000',
  },
}
SCSS
$custom: #27296c;
$custom-light: #696297;
$custom-dark: #000000;
JSON
{
  "hex": "#27296c",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 238.261,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3228,
    "c": 0.11411,
    "h": 276.6
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#27296C
secondary
#9F9C50
accent
#D351D7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #27296C

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

Preview Lab → · Contrast checker → · Palette generator →

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