#27267F#27267F

#27267F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.145 H 275.7°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#27267F
RGBrgb(39, 38, 127)
HSLhsl(241, 54%, 32%)
HSVhsv(241, 70%, 50%)
CMYKcmyk(69.3%, 70.1%, 0%, 50.2%)
CIE-LABlab(21.39, 30.56, -50.05)
CIE-LCHlch(21.39, 58.64, 301.41°)
OKLaboklab(33.51% 0.0144 -0.1445)
OKLCHoklch(33.51% 0.145 275.7)
XYZxyz(5.3593, 3.3494, 20.4386)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27267F #7E7F26
analogous
#26527F #27267F #53267F
triadic
#27267F #7F2726 #267F27
tetradic
#27267F #7F2652 #7E7F26 #267F53
square
#27267F #7F2652 #7E7F26 #267F53
split-complementary
#27267F #7F5326 #527F26
monochromatic
#0A0A21 #191850 #27267F #3534AE #5554CC

Accessibility & contrast

On white

12.57
#27267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#27267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27267F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27267F#FFFFFF#000000##FFFFFF
##27267F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #27267f;
/* rgb */ color: rgb(39, 38, 127);
/* oklch */ color: oklch(33.5% 0.145 275.7);
Tailwind
colors: {
  custom: {
    50: '#6e61a5',
    500: '#27267f',
    950: '#000000',
  },
}
SCSS
$custom: #27267f;
$custom-light: #6e61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#27267f",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 240.674,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3351,
    "c": 0.1452,
    "h": 275.7
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#27267F
secondary
#AFB051
accent
#DD4ADC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #27267F

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

Preview Lab → · Contrast checker → · Palette generator →

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