#27419D#27419D

#27419D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.153 H 267.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#27419D
RGBrgb(39, 65, 157)
HSLhsl(227, 60%, 38%)
HSVhsv(227, 75%, 62%)
CMYKcmyk(75.2%, 58.6%, 0%, 38.4%)
CIE-LABlab(30.99, 23.76, -52.94)
CIE-LCHlch(30.99, 58.03, 294.18°)
OKLaboklab(41.4% -0.0073 -0.1527)
OKLCHoklch(41.4% 0.153 267.3)
XYZxyz(8.8107, 6.6453, 32.7101)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27419D #9D8327
analogous
#277C9D #27419D #48279D
triadic
#27419D #9D2741 #419D27
tetradic
#27419D #9D277C #9D8327 #279D48
square
#27419D #9D277C #9D8327 #279D48
split-complementary
#27419D #9D4827 #7C9D27
monochromatic
#0F183B #1B2D6C #27419D #3556CD #667FD9

Accessibility & contrast

On white

9.02
#27419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#27419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27419D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27419D#FFFFFF#000000##FFFFFF
##27419D1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #27419d;
/* rgb */ color: rgb(39, 65, 157);
/* oklch */ color: oklch(41.4% 0.153 267.3);
Tailwind
colors: {
  custom: {
    50: '#7375bb',
    500: '#27419d',
    950: '#000000',
  },
}
SCSS
$custom: #27419d;
$custom-light: #7375bb;
$custom-dark: #000000;
JSON
{
  "hex": "#27419d",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 226.78,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41397,
    "c": 0.15291,
    "h": 267.3
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#27419D
secondary
#BFAA61
accent
#C044E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #27419D

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

Preview Lab → · Contrast checker → · Palette generator →

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