#27508A#27508A

#27508A is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.107 H 257.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#27508A
RGBrgb(39, 80, 138)
HSLhsl(215, 56%, 35%)
HSVhsv(215, 72%, 54%)
CMYKcmyk(71.7%, 42%, 0%, 45.9%)
CIE-LABlab(33.99, 6.28, -36.52)
CIE-LCHlch(33.99, 37.06, 279.76°)
OKLaboklab(43.26% -0.0232 -0.1042)
OKLCHoklch(43.26% 0.107 257.5)
XYZxyz(8.2911, 8.0028, 25.1476)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27508A #8A6127
analogous
#27818A #27508A #30278A
triadic
#27508A #8A2750 #508A27
tetradic
#27508A #8A2781 #8A6127 #278A30
square
#27508A #8A2781 #8A6127 #278A30
split-complementary
#27508A #8A3027 #818A27
monochromatic
#0C192B #1A345A #27508A #346CBA #5B8CD1

Accessibility & contrast

On white

8.07
#27508A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#27508A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27508A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27508A#FFFFFF#000000##FFFFFF
##27508A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #27508a;
/* rgb */ color: rgb(39, 80, 138);
/* oklch */ color: oklch(43.3% 0.107 257.5);
Tailwind
colors: {
  custom: {
    50: '#6e80ac',
    500: '#27508a',
    950: '#000000',
  },
}
SCSS
$custom: #27508a;
$custom-light: #6e80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#27508a",
  "rgb": {
    "r": 39,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 215.152,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43264,
    "c": 0.10675,
    "h": 257.5
  },
  "luminance": 0.08004
}

Semantic roles & 50–950 ramp

primary
#27508A
secondary
#B68F57
accent
#A149DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #27508A

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

Preview Lab → · Contrast checker → · Palette generator →

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