#27264E#27264E

#27264E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.071 H 282.2°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#27264E
RGBrgb(39, 38, 78)
HSLhsl(242, 34%, 23%)
HSVhsv(242, 51%, 31%)
CMYKcmyk(50%, 51.3%, 0%, 69.4%)
CIE-LABlab(17.31, 12.75, -24.59)
CIE-LCHlch(17.31, 27.70, 297.41°)
OKLaboklab(29.21% 0.015 -0.0697)
OKLCHoklch(29.21% 0.071 282.2)
XYZxyz(2.9046, 2.3675, 7.5102)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27264E #4D4E26
analogous
#26394E #27264E #3B264E
triadic
#27264E #4E2726 #264E27
tetradic
#27264E #4E2639 #4D4E26 #264E3B
square
#27264E #4E2639 #4D4E26 #264E3B
split-complementary
#27264E #4E3B26 #394E26
monochromatic
#0A0A15 #121225 #27264E #3C3A77 #504EA0

Accessibility & contrast

On white

14.25
#27264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#27264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27264E
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27264E#FFFFFF#000000##FFFFFF
##27264E1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162C4F
Deuteranopia (green-blind)
#14294D
Tritanopia (blue-blind)
#1A2E36
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #27264e;
/* rgb */ color: rgb(39, 38, 78);
/* oklch */ color: oklch(29.2% 0.071 282.2);
Tailwind
colors: {
  custom: {
    50: '#646080',
    500: '#27264e',
    950: '#000000',
  },
}
SCSS
$custom: #27264e;
$custom-light: #646080;
$custom-dark: #000000;
JSON
{
  "hex": "#27264e",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 241.5,
    "s": 34.483,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29214,
    "c": 0.07134,
    "h": 282.2
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#27264E
secondary
#80814F
accent
#CB5DC8
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05040A
muted
#7A797C

Preview Lab

Preview with #27264E

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

Preview Lab → · Contrast checker → · Palette generator →

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