#27419B#27419B

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

Color values

HEX#27419B
RGBrgb(39, 65, 155)
HSLhsl(227, 60%, 38%)
HSVhsv(227, 75%, 61%)
CMYKcmyk(74.8%, 58.1%, 0%, 39.2%)
CIE-LABlab(30.83, 22.99, -51.99)
CIE-LCHlch(30.83, 56.84, 293.86°)
OKLaboklab(41.23% -0.0074 -0.1499)
OKLCHoklch(41.23% 0.15 267.2)
XYZxyz(8.6413, 6.5776, 31.8182)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27419B #9B8127
analogous
#277B9B #27419B #47279B
triadic
#27419B #9B2741 #419B27
tetradic
#27419B #9B277B #9B8127 #279B47
square
#27419B #9B277B #9B8127 #279B47
split-complementary
#27419B #9B4727 #7B9B27
monochromatic
#0E1839 #1B2C6A #27419B #3356CC #647ED8

Accessibility & contrast

On white

9.07
#27419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27419B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27419B#FFFFFF#000000##FFFFFF
##27419B1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #27419b;
/* rgb */ color: rgb(39, 65, 155);
/* oklch */ color: oklch(41.2% 0.150 267.2);
Tailwind
colors: {
  custom: {
    50: '#7275b9',
    500: '#27419b',
    950: '#000000',
  },
}
SCSS
$custom: #27419b;
$custom-light: #7275b9;
$custom-dark: #000000;
JSON
{
  "hex": "#27419b",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 226.552,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41227,
    "c": 0.15012,
    "h": 267.2
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27419B

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

Preview Lab → · Contrast checker → · Palette generator →

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