#27408F#27408F

#27408F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.134 H 266.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#27408F
RGBrgb(39, 64, 143)
HSLhsl(226, 57%, 36%)
HSVhsv(226, 73%, 56%)
CMYKcmyk(72.7%, 55.2%, 0%, 43.9%)
CIE-LABlab(29.61, 19.04, -46.62)
CIE-LCHlch(29.61, 50.36, 292.22°)
OKLaboklab(40.02% -0.0073 -0.1342)
OKLCHoklch(40.02% 0.134 266.9)
XYZxyz(7.6263, 6.0805, 26.7530)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27408F #8F7627
analogous
#27748F #27408F #42278F
triadic
#27408F #8F2740 #408F27
tetradic
#27408F #8F2774 #8F7627 #278F42
square
#27408F #8F2774 #8F7627 #278F42
split-complementary
#27408F #8F4227 #748F27
monochromatic
#0D152F #1A2A5F #27408F #3456BF #5D7AD3

Accessibility & contrast

On white

9.48
#27408F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#27408F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27408F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27408F#FFFFFF#000000##FFFFFF
##27408F1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034B92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #27408f;
/* rgb */ color: rgb(39, 64, 143);
/* oklch */ color: oklch(40.0% 0.134 266.9);
Tailwind
colors: {
  custom: {
    50: '#6f74b0',
    500: '#27408f',
    950: '#000000',
  },
}
SCSS
$custom: #27408f;
$custom-light: #6f74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27408f",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 225.577,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40022,
    "c": 0.13438,
    "h": 266.9
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#27408F
secondary
#B8A15A
accent
#BC47E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #27408F

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

Preview Lab → · Contrast checker → · Palette generator →

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