#27419A#27419A

#27419A is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.149 H 267.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#27419A
RGBrgb(39, 65, 154)
HSLhsl(226, 60%, 38%)
HSVhsv(226, 75%, 60%)
CMYKcmyk(74.7%, 57.8%, 0%, 39.6%)
CIE-LABlab(30.75, 22.61, -51.51)
CIE-LCHlch(30.75, 56.25, 293.70°)
OKLaboklab(41.14% -0.0074 -0.1485)
OKLCHoklch(41.14% 0.149 267.1)
XYZxyz(8.5577, 6.5441, 31.3777)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27419A #9A8027
analogous
#277A9A #27419A #47279A
triadic
#27419A #9A2741 #419A27
tetradic
#27419A #9A277A #9A8027 #279A47
square
#27419A #9A277A #9A8027 #279A47
split-complementary
#27419A #9A4727 #7A9A27
monochromatic
#0E1838 #1B2C69 #27419A #3356CB #647ED8

Accessibility & contrast

On white

9.09
#27419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#27419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27419A
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27419A#FFFFFF#000000##FFFFFF
##27419A1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #27419a;
/* rgb */ color: rgb(39, 65, 154);
/* oklch */ color: oklch(41.1% 0.149 267.1);
Tailwind
colors: {
  custom: {
    50: '#7275b8',
    500: '#27419a',
    950: '#000000',
  },
}
SCSS
$custom: #27419a;
$custom-light: #7275b8;
$custom-dark: #000000;
JSON
{
  "hex": "#27419a",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 226.435,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41142,
    "c": 0.14872,
    "h": 267.1
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#27419A
secondary
#BDA85F
accent
#BF45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #27419A

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

Preview Lab → · Contrast checker → · Palette generator →

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