#27487B#27487B

#27487B is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.095 H 258.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#27487B
RGBrgb(39, 72, 123)
HSLhsl(216, 52%, 32%)
HSVhsv(216, 68%, 48%)
CMYKcmyk(68.3%, 41.5%, 0%, 51.8%)
CIE-LABlab(30.63, 5.84, -32.60)
CIE-LCHlch(30.63, 33.12, 280.16°)
OKLaboklab(40.37% -0.0183 -0.0928)
OKLCHoklch(40.37% 0.095 258.8)
XYZxyz(6.7279, 6.4955, 19.6342)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27487B #7B5A27
analogous
#27727B #27487B #30277B
triadic
#27487B #7B2748 #487B27
tetradic
#27487B #7B2772 #7B5A27 #277B30
square
#27487B #7B2772 #7B5A27 #277B30
split-complementary
#27487B #7B3027 #727B27
monochromatic
#0A121E #182D4D #27487B #3663A9 #5482C9

Accessibility & contrast

On white

9.13
#27487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#27487B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27487B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27487B#FFFFFF#000000##FFFFFF
##27487B1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#25447A
Tritanopia (blue-blind)
#00545B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #27487b;
/* rgb */ color: rgb(39, 72, 123);
/* oklch */ color: oklch(40.4% 0.095 258.8);
Tailwind
colors: {
  custom: {
    50: '#6b7aa1',
    500: '#27487b',
    950: '#000000',
  },
}
SCSS
$custom: #27487b;
$custom-light: #6b7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#27487b",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 216.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.0946,
    "h": 258.8
  },
  "luminance": 0.06496
}

Semantic roles & 50–950 ramp

primary
#27487B
secondary
#AD8951
accent
#A34CDB
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #27487B

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

Preview Lab → · Contrast checker → · Palette generator →

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