#27508E#27508E

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

Color values

HEX#27508E
RGBrgb(39, 80, 142)
HSLhsl(216, 57%, 35%)
HSVhsv(216, 73%, 56%)
CMYKcmyk(72.5%, 43.7%, 0%, 44.3%)
CIE-LABlab(34.23, 7.83, -38.58)
CIE-LCHlch(34.23, 39.36, 281.47°)
OKLaboklab(43.53% -0.0223 -0.1102)
OKLCHoklch(43.53% 0.112 258.6)
XYZxyz(8.5861, 8.1207, 26.7009)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27508E #8E6527
analogous
#27838E #27508E #32278E
triadic
#27508E #8E2750 #508E27
tetradic
#27508E #8E2783 #8E6527 #278E32
square
#27508E #8E2783 #8E6527 #278E32
split-complementary
#27508E #8E3227 #838E27
monochromatic
#0D1A2E #1A355E #27508E #346BBE #5D8CD2

Accessibility & contrast

On white

8.00
#27508E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27508E
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27508E#FFFFFF#000000##FFFFFF
##27508E1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325690
Deuteranopia (green-blind)
#214C8D
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #27508e;
/* rgb */ color: rgb(39, 80, 142);
/* oklch */ color: oklch(43.5% 0.112 258.6);
Tailwind
colors: {
  custom: {
    50: '#6f80af',
    500: '#27508e',
    950: '#000000',
  },
}
SCSS
$custom: #27508e;
$custom-light: #6f80af;
$custom-dark: #000000;
JSON
{
  "hex": "#27508e",
  "rgb": {
    "r": 39,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 216.117,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43533,
    "c": 0.11246,
    "h": 258.6
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27508E

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

Preview Lab → · Contrast checker → · Palette generator →

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