#27419E#27419E

#27419E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.154 H 267.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#27419E
RGBrgb(39, 65, 158)
HSLhsl(227, 60%, 39%)
HSVhsv(227, 75%, 62%)
CMYKcmyk(75.3%, 58.9%, 0%, 38%)
CIE-LABlab(31.07, 24.15, -53.41)
CIE-LCHlch(31.07, 58.62, 294.33°)
OKLaboklab(41.48% -0.0073 -0.1541)
OKLCHoklch(41.48% 0.154 267.3)
XYZxyz(8.8964, 6.6796, 33.1616)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27419E #9E8427
analogous
#277C9E #27419E #48279E
triadic
#27419E #9E2741 #419E27
tetradic
#27419E #9E277C #9E8427 #279E48
square
#27419E #9E277C #9E8427 #279E48
split-complementary
#27419E #9E4827 #7C9E27
monochromatic
#0F193C #1B2D6D #27419E #3556CD #667FD9

Accessibility & contrast

On white

8.99
#27419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#27419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27419E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27419E#FFFFFF#000000##FFFFFF
##27419E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #27419e;
/* rgb */ color: rgb(39, 65, 158);
/* oklch */ color: oklch(41.5% 0.154 267.3);
Tailwind
colors: {
  custom: {
    50: '#7375bb',
    500: '#27419e',
    950: '#000000',
  },
}
SCSS
$custom: #27419e;
$custom-light: #7375bb;
$custom-dark: #000000;
JSON
{
  "hex": "#27419e",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 226.891,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41483,
    "c": 0.1543,
    "h": 267.3
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#27419E
secondary
#BFAB62
accent
#C144E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #27419E

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

Preview Lab → · Contrast checker → · Palette generator →

#27419E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva