#27419C#27419C

#27419C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.152 H 267.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#27419C
RGBrgb(39, 65, 156)
HSLhsl(227, 60%, 38%)
HSVhsv(227, 75%, 61%)
CMYKcmyk(75%, 58.3%, 0%, 38.8%)
CIE-LABlab(30.91, 23.38, -52.46)
CIE-LCHlch(30.91, 57.44, 294.02°)
OKLaboklab(41.31% -0.0073 -0.1513)
OKLCHoklch(41.31% 0.152 267.2)
XYZxyz(8.7257, 6.6113, 32.2623)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27419C #9C8227
analogous
#277B9C #27419C #48279C
triadic
#27419C #9C2741 #419C27
tetradic
#27419C #9C277B #9C8227 #279C48
square
#27419C #9C277B #9C8227 #279C48
split-complementary
#27419C #9C4827 #7B9C27
monochromatic
#0F183A #1B2D6B #27419C #3456CC #657FD8

Accessibility & contrast

On white

9.04
#27419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#27419C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27419C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27419C#FFFFFF#000000##FFFFFF
##27419C1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27419c;
/* rgb */ color: rgb(39, 65, 156);
/* oklch */ color: oklch(41.3% 0.152 267.2);
Tailwind
colors: {
  custom: {
    50: '#7375ba',
    500: '#27419c',
    950: '#000000',
  },
}
SCSS
$custom: #27419c;
$custom-light: #7375ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27419c",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 226.667,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41312,
    "c": 0.15152,
    "h": 267.2
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#27419C
secondary
#BEA961
accent
#C045E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #27419C

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

Preview Lab → · Contrast checker → · Palette generator →

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