#27267E#27267E

#27267E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.144 H 275.8°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#27267E
RGBrgb(39, 38, 126)
HSLhsl(241, 54%, 32%)
HSVhsv(241, 70%, 49%)
CMYKcmyk(69%, 69.8%, 0%, 50.6%)
CIE-LABlab(21.30, 30.20, -49.57)
CIE-LCHlch(21.30, 58.04, 301.35°)
OKLaboklab(33.41% 0.0145 -0.1431)
OKLCHoklch(33.41% 0.144 275.8)
XYZxyz(5.2945, 3.3235, 20.0971)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27267E #7D7E26
analogous
#26517E #27267E #53267E
triadic
#27267E #7E2726 #267E27
tetradic
#27267E #7E2651 #7D7E26 #267E53
square
#27267E #7E2651 #7D7E26 #267E53
split-complementary
#27267E #7E5326 #517E26
monochromatic
#0A0A20 #18184F #27267E #3634AD #5553CB

Accessibility & contrast

On white

12.61
#27267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#27267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27267E
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27267E#FFFFFF#000000##FFFFFF
##27267E1.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #27267e;
/* rgb */ color: rgb(39, 38, 126);
/* oklch */ color: oklch(33.4% 0.144 275.8);
Tailwind
colors: {
  custom: {
    50: '#6e61a4',
    500: '#27267e',
    950: '#000000',
  },
}
SCSS
$custom: #27267e;
$custom-light: #6e61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#27267e",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 240.682,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3341,
    "c": 0.14384,
    "h": 275.8
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#27267E
secondary
#AFB050
accent
#DD4BDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #27267E

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

Preview Lab → · Contrast checker → · Palette generator →

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