#27508D#27508D

#27508D is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.111 H 258.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#27508D
RGBrgb(39, 80, 141)
HSLhsl(216, 57%, 35%)
HSVhsv(216, 72%, 55%)
CMYKcmyk(72.3%, 43.3%, 0%, 44.7%)
CIE-LABlab(34.17, 7.44, -38.06)
CIE-LCHlch(34.17, 38.78, 281.06°)
OKLaboklab(43.47% -0.0225 -0.1087)
OKLCHoklch(43.47% 0.111 258.3)
XYZxyz(8.5113, 8.0908, 26.3073)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27508D #8D6427
analogous
#27838D #27508D #31278D
triadic
#27508D #8D2750 #508D27
tetradic
#27508D #8D2783 #8D6427 #278D31
square
#27508D #8D2783 #8D6427 #278D31
split-complementary
#27508D #8D3127 #838D27
monochromatic
#0C1A2D #1A355D #27508D #346BBD #5C8CD2

Accessibility & contrast

On white

8.02
#27508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#27508D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27508D
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27508D#FFFFFF#000000##FFFFFF
##27508D1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558F
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #27508d;
/* rgb */ color: rgb(39, 80, 141);
/* oklch */ color: oklch(43.5% 0.111 258.3);
Tailwind
colors: {
  custom: {
    50: '#6e80af',
    500: '#27508d',
    950: '#000000',
  },
}
SCSS
$custom: #27508d;
$custom-light: #6e80af;
$custom-dark: #000000;
JSON
{
  "hex": "#27508d",
  "rgb": {
    "r": 39,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 215.882,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43465,
    "c": 0.11104,
    "h": 258.3
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#27508D
secondary
#B79159
accent
#A348E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #27508D

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

Preview Lab → · Contrast checker → · Palette generator →

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