#27419F#27419F

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

Color values

HEX#27419F
RGBrgb(39, 65, 159)
HSLhsl(227, 61%, 39%)
HSVhsv(227, 75%, 62%)
CMYKcmyk(75.5%, 59.1%, 0%, 37.6%)
CIE-LABlab(31.15, 24.53, -53.89)
CIE-LCHlch(31.15, 59.21, 294.48°)
OKLaboklab(41.57% -0.0072 -0.1555)
OKLCHoklch(41.57% 0.156 267.3)
XYZxyz(8.9828, 6.7142, 33.6167)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27419F #9F8527
analogous
#277D9F #27419F #49279F
triadic
#27419F #9F2741 #419F27
tetradic
#27419F #9F277D #9F8527 #279F49
square
#27419F #9F277D #9F8527 #279F49
split-complementary
#27419F #9F4927 #7D9F27
monochromatic
#0F193D #1B2D6E #27419F #3657CE #6780DA

Accessibility & contrast

On white

8.96
#27419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27419F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27419F#FFFFFF#000000##FFFFFF
##27419F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #27419f;
/* rgb */ color: rgb(39, 65, 159);
/* oklch */ color: oklch(41.6% 0.156 267.3);
Tailwind
colors: {
  custom: {
    50: '#7375bc',
    500: '#27419f',
    950: '#000000',
  },
}
SCSS
$custom: #27419f;
$custom-light: #7375bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27419f",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 227,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41569,
    "c": 0.15569,
    "h": 267.3
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#27419F
secondary
#C0AB62
accent
#C144E4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #27419F

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

Preview Lab → · Contrast checker → · Palette generator →

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