#27488F#27488F

#27488F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.124 H 263.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#27488F
RGBrgb(39, 72, 143)
HSLhsl(221, 57%, 36%)
HSVhsv(221, 73%, 56%)
CMYKcmyk(72.7%, 49.7%, 0%, 43.9%)
CIE-LABlab(31.92, 13.59, -42.90)
CIE-LCHlch(31.92, 45.00, 287.57°)
OKLaboklab(41.77% -0.0145 -0.1231)
OKLCHoklch(41.77% 0.124 263.3)
XYZxyz(8.1102, 7.0484, 26.9143)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27488F #8F6E27
analogous
#277C8F #27488F #3A278F
triadic
#27488F #8F2748 #488F27
tetradic
#27488F #8F277C #8F6E27 #278F3A
square
#27488F #8F277C #8F6E27 #278F3A
split-complementary
#27488F #8F3A27 #7C8F27
monochromatic
#0D182F #1A305F #27488F #3460BF #5D83D3

Accessibility & contrast

On white

8.71
#27488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#27488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27488F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27488F#FFFFFF#000000##FFFFFF
##27488F1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#02478E
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #27488f;
/* rgb */ color: rgb(39, 72, 143);
/* oklch */ color: oklch(41.8% 0.124 263.3);
Tailwind
colors: {
  custom: {
    50: '#6f7ab0',
    500: '#27488f',
    950: '#000000',
  },
}
SCSS
$custom: #27488f;
$custom-light: #6f7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#27488f",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 220.962,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41771,
    "c": 0.12395,
    "h": 263.3
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#27488F
secondary
#B89A5A
accent
#B047E0
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #27488F

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

Preview Lab → · Contrast checker → · Palette generator →

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