#27268B#27268B

#27268B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.161 H 274.5°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#27268B
RGBrgb(39, 38, 139)
HSLhsl(241, 57%, 35%)
HSVhsv(241, 73%, 55%)
CMYKcmyk(71.9%, 72.7%, 0%, 45.5%)
CIE-LABlab(22.59, 34.82, -55.62)
CIE-LCHlch(22.59, 65.62, 302.05°)
OKLaboklab(34.73% 0.0126 -0.1608)
OKLCHoklch(34.73% 0.161 274.5)
XYZxyz(6.1885, 3.6811, 24.8055)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27268B #8A8B26
analogous
#26588B #27268B #5A268B
triadic
#27268B #8B2726 #268B27
tetradic
#27268B #8B2658 #8A8B26 #268B5A
square
#27268B #8B2658 #8A8B26 #268B5A
split-complementary
#27268B #8B5A26 #588B26
monochromatic
#0C0C2B #1A195B #27268B #3433BB #5B5AD2

Accessibility & contrast

On white

12.09
#27268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#27268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27268B
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27268B#FFFFFF#000000##FFFFFF
##27268B1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #27268b;
/* rgb */ color: rgb(39, 38, 139);
/* oklch */ color: oklch(34.7% 0.161 274.5);
Tailwind
colors: {
  custom: {
    50: '#7161ae',
    500: '#27268b',
    950: '#000000',
  },
}
SCSS
$custom: #27268b;
$custom-light: #7161ae;
$custom-dark: #000000;
JSON
{
  "hex": "#27268b",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 240.594,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34733,
    "c": 0.16128,
    "h": 274.5
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#27268B
secondary
#B6B756
accent
#E047DF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #27268B

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

Preview Lab → · Contrast checker → · Palette generator →

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