#27266E#27266E

#27266E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.121 H 277.6°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#27266E
RGBrgb(39, 38, 110)
HSLhsl(241, 49%, 29%)
HSVhsv(241, 65%, 43%)
CMYKcmyk(64.5%, 65.5%, 0%, 56.9%)
CIE-LABlab(19.81, 24.39, -41.75)
CIE-LCHlch(19.81, 48.35, 300.29°)
OKLaboklab(31.87% 0.0161 -0.1202)
OKLCHoklch(31.87% 0.121 277.6)
XYZxyz(4.3434, 2.9430, 15.0880)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27266E #6D6E26
analogous
#26496E #27266E #4B266E
triadic
#27266E #6E2726 #266E27
tetradic
#27266E #6E2649 #6D6E26 #266E4B
square
#27266E #6E2649 #6D6E26 #266E4B
split-complementary
#27266E #6E4B26 #496E26
monochromatic
#080817 #171641 #27266E #37369B #4F4DC1

Accessibility & contrast

On white

13.22
#27266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#27266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27266E
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27266E#FFFFFF#000000##FFFFFF
##27266E1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #27266e;
/* rgb */ color: rgb(39, 38, 110);
/* oklch */ color: oklch(31.9% 0.121 277.6);
Tailwind
colors: {
  custom: {
    50: '#6a6098',
    500: '#27266e',
    950: '#000000',
  },
}
SCSS
$custom: #27266e;
$custom-light: #6a6098;
$custom-dark: #000000;
JSON
{
  "hex": "#27266e",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 240.833,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31874,
    "c": 0.12123,
    "h": 277.6
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#27266E
secondary
#A0A14F
accent
#D850D6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #27266E

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

Preview Lab → · Contrast checker → · Palette generator →

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