#27508C#27508C

#27508C is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.110 H 258.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#27508C
RGBrgb(39, 80, 140)
HSLhsl(216, 56%, 35%)
HSVhsv(216, 72%, 55%)
CMYKcmyk(72.1%, 42.9%, 0%, 45.1%)
CIE-LABlab(34.11, 7.05, -37.55)
CIE-LCHlch(34.11, 38.21, 280.64°)
OKLaboklab(43.4% -0.0227 -0.1072)
OKLCHoklch(43.4% 0.11 258)
XYZxyz(8.4373, 8.0612, 25.9172)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27508C #8C6327
analogous
#27828C #27508C #31278C
triadic
#27508C #8C2750 #508C27
tetradic
#27508C #8C2782 #8C6327 #278C31
square
#27508C #8C2782 #8C6327 #278C31
split-complementary
#27508C #8C3127 #828C27
monochromatic
#0C192C #1A355C #27508C #346BBC #5C8CD2

Accessibility & contrast

On white

8.04
#27508C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27508C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27508C#FFFFFF#000000##FFFFFF
##27508C1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558E
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #27508c;
/* rgb */ color: rgb(39, 80, 140);
/* oklch */ color: oklch(43.4% 0.110 258.0);
Tailwind
colors: {
  custom: {
    50: '#6e80ae',
    500: '#27508c',
    950: '#000000',
  },
}
SCSS
$custom: #27508c;
$custom-light: #6e80ae;
$custom-dark: #000000;
JSON
{
  "hex": "#27508c",
  "rgb": {
    "r": 39,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 215.644,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43398,
    "c": 0.1096,
    "h": 258
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#27508C
secondary
#B79058
accent
#A248E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #27508C

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

Preview Lab → · Contrast checker → · Palette generator →

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