#27294C#27294C

#27294C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.063 H 279.4°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#27294C
RGBrgb(39, 41, 76)
HSLhsl(237, 32%, 23%)
HSVhsv(237, 49%, 30%)
CMYKcmyk(48.7%, 46.1%, 0%, 70.2%)
CIE-LABlab(18.09, 9.89, -21.99)
CIE-LCHlch(18.09, 24.11, 294.22°)
OKLaboklab(29.77% 0.0102 -0.0621)
OKLCHoklch(29.77% 0.063 279.4)
XYZxyz(2.9338, 2.5389, 7.1715)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27294C #4C4A27
analogous
#273B4C #27294C #38274C
triadic
#27294C #4C2729 #294C27
tetradic
#27294C #4C273B #4C4A27 #274C38
square
#27294C #4C273B #4C4A27 #274C38
split-complementary
#27294C #4C3827 #3B4C27
monochromatic
#0A0B14 #121324 #27294C #3C3F74 #51559D

Accessibility & contrast

On white

13.93
#27294C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#27294C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27294C
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27294C#FFFFFF#000000##FFFFFF
##27294C1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4D
Deuteranopia (green-blind)
#1A2B4B
Tritanopia (blue-blind)
#1B3036
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #27294c;
/* rgb */ color: rgb(39, 41, 76);
/* oklch */ color: oklch(29.8% 0.063 279.4);
Tailwind
colors: {
  custom: {
    50: '#63627e',
    500: '#27294c',
    950: '#000000',
  },
}
SCSS
$custom: #27294c;
$custom-light: #63627e;
$custom-dark: #000000;
JSON
{
  "hex": "#27294c",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 76
  },
  "hsl": {
    "h": 236.757,
    "s": 32.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29769,
    "c": 0.06293,
    "h": 279.4
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#27294C
secondary
#7F7C50
accent
#C35FC8
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#05050A
muted
#7A797C

Preview Lab

Preview with #27294C

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

Preview Lab → · Contrast checker → · Palette generator →

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