#27267C#27267C

#27267C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.141 H 276.0°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#27267C
RGBrgb(39, 38, 124)
HSLhsl(241, 53%, 32%)
HSVhsv(241, 69%, 49%)
CMYKcmyk(68.5%, 69.4%, 0%, 51.4%)
CIE-LABlab(21.10, 29.48, -48.62)
CIE-LCHlch(21.10, 56.86, 301.23°)
OKLaboklab(33.21% 0.0147 -0.1403)
OKLCHoklch(33.21% 0.141 276)
XYZxyz(5.1667, 3.2723, 19.4242)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27267C #7B7C26
analogous
#26507C #27267C #52267C
triadic
#27267C #7C2726 #267C27
tetradic
#27267C #7C2650 #7B7C26 #267C52
square
#27267C #7C2650 #7B7C26 #267C52
split-complementary
#27267C #7C5226 #507C26
monochromatic
#0A091E #18184D #27267C #3634AB #5452CA

Accessibility & contrast

On white

12.69
#27267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#27267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27267C
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27267C#FFFFFF#000000##FFFFFF
##27267C1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #27267c;
/* rgb */ color: rgb(39, 38, 124);
/* oklch */ color: oklch(33.2% 0.141 276.0);
Tailwind
colors: {
  custom: {
    50: '#6d61a3',
    500: '#27267c',
    950: '#000000',
  },
}
SCSS
$custom: #27267c;
$custom-light: #6d61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27267c",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 240.698,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33212,
    "c": 0.14108,
    "h": 276
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#27267C
secondary
#ADAE50
accent
#DC4BDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #27267C

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

Preview Lab → · Contrast checker → · Palette generator →

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