#27268A#27268A

#27268A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.160 H 274.6°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#27268A
RGBrgb(39, 38, 138)
HSLhsl(241, 57%, 35%)
HSVhsv(241, 72%, 54%)
CMYKcmyk(71.7%, 72.5%, 0%, 45.9%)
CIE-LABlab(22.49, 34.47, -55.16)
CIE-LCHlch(22.49, 65.05, 302.00°)
OKLaboklab(34.63% 0.0127 -0.1594)
OKLCHoklch(34.63% 0.16 274.6)
XYZxyz(6.1157, 3.6520, 24.4224)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27268A #898A26
analogous
#26578A #27268A #59268A
triadic
#27268A #8A2726 #268A27
tetradic
#27268A #8A2657 #898A26 #268A59
square
#27268A #8A2657 #898A26 #268A59
split-complementary
#27268A #8A5926 #578A26
monochromatic
#0C0C2A #19195A #27268A #3533BA #5A59D1

Accessibility & contrast

On white

12.13
#27268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#27268A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27268A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27268A#FFFFFF#000000##FFFFFF
##27268A1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #27268a;
/* rgb */ color: rgb(39, 38, 138);
/* oklch */ color: oklch(34.6% 0.160 274.6);
Tailwind
colors: {
  custom: {
    50: '#7161ad',
    500: '#27268a',
    950: '#000000',
  },
}
SCSS
$custom: #27268a;
$custom-light: #7161ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27268a",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 240.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34629,
    "c": 0.15996,
    "h": 274.6
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

primary
#27268A
secondary
#B5B656
accent
#E048DF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #27268A

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

Preview Lab → · Contrast checker → · Palette generator →

#27268A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva