#27508F#27508F

#27508F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.6% C 0.114 H 258.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#27508F
RGBrgb(39, 80, 143)
HSLhsl(216, 57%, 36%)
HSVhsv(216, 73%, 56%)
CMYKcmyk(72.7%, 44.1%, 0%, 43.9%)
CIE-LABlab(34.30, 8.21, -39.09)
CIE-LCHlch(34.30, 39.94, 281.87°)
OKLaboklab(43.6% -0.0221 -0.1117)
OKLCHoklch(43.6% 0.114 258.8)
XYZxyz(8.6615, 8.1509, 27.0981)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27508F #8F6627
analogous
#27848F #27508F #32278F
triadic
#27508F #8F2750 #508F27
tetradic
#27508F #8F2784 #8F6627 #278F32
square
#27508F #8F2784 #8F6627 #278F32
split-complementary
#27508F #8F3227 #848F27
monochromatic
#0D1A2F #1A355F #27508F #346BBF #5D8CD3

Accessibility & contrast

On white

7.98
#27508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#27508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27508F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27508F#FFFFFF#000000##FFFFFF
##27508F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315691
Deuteranopia (green-blind)
#1F4C8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #27508f;
/* rgb */ color: rgb(39, 80, 143);
/* oklch */ color: oklch(43.6% 0.114 258.8);
Tailwind
colors: {
  custom: {
    50: '#6f80b0',
    500: '#27508f',
    950: '#000000',
  },
}
SCSS
$custom: #27508f;
$custom-light: #6f80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27508f",
  "rgb": {
    "r": 39,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 216.346,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43601,
    "c": 0.11389,
    "h": 258.8
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#27508F
secondary
#B8935A
accent
#A447E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #27508F

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

Preview Lab → · Contrast checker → · Palette generator →

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