#27408A#27408A

#27408A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.127 H 266.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#27408A
RGBrgb(39, 64, 138)
HSLhsl(225, 56%, 35%)
HSVhsv(225, 72%, 54%)
CMYKcmyk(71.7%, 53.6%, 0%, 45.9%)
CIE-LABlab(29.24, 17.10, -44.14)
CIE-LCHlch(29.24, 47.34, 291.18°)
OKLaboklab(39.62% -0.0077 -0.1269)
OKLCHoklch(39.62% 0.127 266.5)
XYZxyz(7.2559, 5.9324, 24.8025)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27408A #8A7127
analogous
#27728A #27408A #3F278A
triadic
#27408A #8A2740 #408A27
tetradic
#27408A #8A2772 #8A7127 #278A3F
square
#27408A #8A2772 #8A7127 #278A3F
split-complementary
#27408A #8A3F27 #728A27
monochromatic
#0C142B #1A2A5A #27408A #3456BA #5B79D1

Accessibility & contrast

On white

9.60
#27408A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#27408A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27408A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27408A#FFFFFF#000000##FFFFFF
##27408A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8D
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #27408a;
/* rgb */ color: rgb(39, 64, 138);
/* oklch */ color: oklch(39.6% 0.127 266.5);
Tailwind
colors: {
  custom: {
    50: '#6e74ad',
    500: '#27408a',
    950: '#000000',
  },
}
SCSS
$custom: #27408a;
$custom-light: #6e74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27408a",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 224.848,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39621,
    "c": 0.12712,
    "h": 266.5
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#27408A
secondary
#B69E57
accent
#B949DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27408A

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

Preview Lab → · Contrast checker → · Palette generator →

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