#27408C#27408C

#27408C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.130 H 266.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#27408C
RGBrgb(39, 64, 140)
HSLhsl(225, 56%, 35%)
HSVhsv(225, 72%, 55%)
CMYKcmyk(72.1%, 54.3%, 0%, 45.1%)
CIE-LABlab(29.39, 17.88, -45.14)
CIE-LCHlch(29.39, 48.55, 291.61°)
OKLaboklab(39.78% -0.0075 -0.1298)
OKLCHoklch(39.78% 0.13 266.7)
XYZxyz(7.4021, 5.9908, 25.5721)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27408C #8C7327
analogous
#27728C #27408C #41278C
triadic
#27408C #8C2740 #408C27
tetradic
#27408C #8C2772 #8C7327 #278C41
square
#27408C #8C2772 #8C7327 #278C41
split-complementary
#27408C #8C4127 #728C27
monochromatic
#0C142C #1A2A5C #27408C #3456BC #5C79D2

Accessibility & contrast

On white

9.55
#27408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#27408C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27408C
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27408C#FFFFFF#000000##FFFFFF
##27408C1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4A8F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #27408c;
/* rgb */ color: rgb(39, 64, 140);
/* oklch */ color: oklch(39.8% 0.130 266.7);
Tailwind
colors: {
  custom: {
    50: '#6f74ae',
    500: '#27408c',
    950: '#000000',
  },
}
SCSS
$custom: #27408c;
$custom-light: #6f74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#27408c",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 225.149,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3978,
    "c": 0.13003,
    "h": 266.7
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#27408C
secondary
#B79F58
accent
#BA48E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27408C

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

Preview Lab → · Contrast checker → · Palette generator →

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