#27487F#27487F

#27487F is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.101 H 260.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#27487F
RGBrgb(39, 72, 127)
HSLhsl(218, 53%, 33%)
HSVhsv(218, 69%, 50%)
CMYKcmyk(69.3%, 43.3%, 0%, 50.2%)
CIE-LABlab(30.87, 7.38, -34.70)
CIE-LCHlch(30.87, 35.48, 282.01°)
OKLaboklab(40.63% -0.0174 -0.099)
OKLCHoklch(40.63% 0.101 260)
XYZxyz(6.9835, 6.5977, 20.9800)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27487F #7F5E27
analogous
#27747F #27487F #32277F
triadic
#27487F #7F2748 #487F27
tetradic
#27487F #7F2774 #7F5E27 #277F32
square
#27487F #7F2774 #7F5E27 #277F32
split-complementary
#27487F #7F3227 #747F27
monochromatic
#0A1321 #192D50 #27487F #3563AE #5582CB

Accessibility & contrast

On white

9.05
#27487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#27487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27487F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27487F#FFFFFF#000000##FFFFFF
##27487F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#21457E
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #27487f;
/* rgb */ color: rgb(39, 72, 127);
/* oklch */ color: oklch(40.6% 0.101 260.0);
Tailwind
colors: {
  custom: {
    50: '#6c7aa4',
    500: '#27487f',
    950: '#000000',
  },
}
SCSS
$custom: #27487f;
$custom-light: #6c7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#27487f",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 217.5,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40632,
    "c": 0.10051,
    "h": 260
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#27487F
secondary
#B08D52
accent
#A64BDC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #27487F

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

Preview Lab → · Contrast checker → · Palette generator →

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