#27296D#27296D

#27296D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.116 H 276.5°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#27296D
RGBrgb(39, 41, 109)
HSLhsl(238, 47%, 29%)
HSVhsv(238, 64%, 43%)
CMYKcmyk(64.2%, 62.4%, 0%, 57.3%)
CIE-LABlab(20.52, 21.96, -39.95)
CIE-LCHlch(20.52, 45.59, 298.80°)
OKLaboklab(32.37% 0.0131 -0.1148)
OKLCHoklch(32.37% 0.116 276.5)
XYZxyz(4.3891, 3.1210, 14.8362)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27296D #6D6B27
analogous
#274C6D #27296D #48276D
triadic
#27296D #6D2729 #296D27
tetradic
#27296D #6D274C #6D6B27 #276D48
square
#27296D #6D274C #6D6B27 #276D48
split-complementary
#27296D #6D4827 #4C6D27
monochromatic
#080817 #171840 #27296D #373A9A #4F52C0

Accessibility & contrast

On white

12.93
#27296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27296D
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27296D#FFFFFF#000000##FFFFFF
##27296D1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #27296d;
/* rgb */ color: rgb(39, 41, 109);
/* oklch */ color: oklch(32.4% 0.116 276.5);
Tailwind
colors: {
  custom: {
    50: '#6a6297',
    500: '#27296d',
    950: '#000000',
  },
}
SCSS
$custom: #27296d;
$custom-light: #6a6297;
$custom-dark: #000000;
JSON
{
  "hex": "#27296d",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 238.286,
    "s": 47.297,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32368,
    "c": 0.1156,
    "h": 276.5
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27296D

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

Preview Lab → · Contrast checker → · Palette generator →

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