#27508B#27508B

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

Color values

HEX#27508B
RGBrgb(39, 80, 139)
HSLhsl(215, 56%, 35%)
HSVhsv(215, 72%, 55%)
CMYKcmyk(71.9%, 42.4%, 0%, 45.5%)
CIE-LABlab(34.05, 6.67, -37.04)
CIE-LCHlch(34.05, 37.63, 280.20°)
OKLaboklab(43.33% -0.023 -0.1057)
OKLCHoklch(43.33% 0.108 257.7)
XYZxyz(8.3639, 8.0319, 25.5306)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27508B #8B6227
analogous
#27828B #27508B #30278B
triadic
#27508B #8B2750 #508B27
tetradic
#27508B #8B2782 #8B6227 #278B30
square
#27508B #8B2782 #8B6227 #278B30
split-complementary
#27508B #8B3027 #828B27
monochromatic
#0C192B #1A345B #27508B #346CBB #5B8CD1

Accessibility & contrast

On white

8.06
#27508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#27508B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27508B
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27508B#FFFFFF#000000##FFFFFF
##27508B1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#244C8A
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #27508b;
/* rgb */ color: rgb(39, 80, 139);
/* oklch */ color: oklch(43.3% 0.108 257.7);
Tailwind
colors: {
  custom: {
    50: '#6e80ad',
    500: '#27508b',
    950: '#000000',
  },
}
SCSS
$custom: #27508b;
$custom-light: #6e80ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27508b",
  "rgb": {
    "r": 39,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 215.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43331,
    "c": 0.10817,
    "h": 257.7
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#27508B
secondary
#B68F58
accent
#A248DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #27508B

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

Preview Lab → · Contrast checker → · Palette generator →

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