#27408D#27408D

#27408D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.131 H 266.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#27408D
RGBrgb(39, 64, 141)
HSLhsl(225, 57%, 35%)
HSVhsv(225, 72%, 55%)
CMYKcmyk(72.3%, 54.6%, 0%, 44.7%)
CIE-LABlab(29.46, 18.26, -45.63)
CIE-LCHlch(29.46, 49.15, 291.81°)
OKLaboklab(39.86% -0.0074 -0.1313)
OKLCHoklch(39.86% 0.131 266.8)
XYZxyz(7.4761, 6.0205, 25.9622)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27408D #8D7427
analogous
#27738D #27408D #41278D
triadic
#27408D #8D2740 #408D27
tetradic
#27408D #8D2773 #8D7427 #278D41
square
#27408D #8D2773 #8D7427 #278D41
split-complementary
#27408D #8D4127 #738D27
monochromatic
#0C142D #1A2A5D #27408D #3456BD #5C79D2

Accessibility & contrast

On white

9.53
#27408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27408D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27408D#FFFFFF#000000##FFFFFF
##27408D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084A90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #27408d;
/* rgb */ color: rgb(39, 64, 141);
/* oklch */ color: oklch(39.9% 0.131 266.8);
Tailwind
colors: {
  custom: {
    50: '#6f74af',
    500: '#27408d',
    950: '#000000',
  },
}
SCSS
$custom: #27408d;
$custom-light: #6f74af;
$custom-dark: #000000;
JSON
{
  "hex": "#27408d",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 225.294,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39861,
    "c": 0.13148,
    "h": 266.8
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#27408D
secondary
#B7A059
accent
#BB48E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #27408D

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

Preview Lab → · Contrast checker → · Palette generator →

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