#27429F#27429F

#27429F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.154 H 267.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#27429F
RGBrgb(39, 66, 159)
HSLhsl(227, 61%, 39%)
HSVhsv(227, 75%, 62%)
CMYKcmyk(75.5%, 58.5%, 0%, 37.6%)
CIE-LABlab(31.42, 23.86, -53.45)
CIE-LCHlch(31.42, 58.53, 294.05°)
OKLaboklab(41.77% -0.008 -0.1542)
OKLCHoklch(41.77% 0.154 267)
XYZxyz(9.0407, 6.8300, 33.6360)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27429F #9F8427
analogous
#277E9F #27429F #48279F
triadic
#27429F #9F2742 #429F27
tetradic
#27429F #9F277E #9F8427 #279F48
square
#27429F #9F277E #9F8427 #279F48
split-complementary
#27429F #9F4827 #7E9F27
monochromatic
#0F193D #1B2E6E #27429F #3658CE #6781DA

Accessibility & contrast

On white

8.87
#27429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#27429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27429F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27429F#FFFFFF#000000##FFFFFF
##27429F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #27429f;
/* rgb */ color: rgb(39, 66, 159);
/* oklch */ color: oklch(41.8% 0.154 267.0);
Tailwind
colors: {
  custom: {
    50: '#7376bc',
    500: '#27429f',
    950: '#000000',
  },
}
SCSS
$custom: #27429f;
$custom-light: #7376bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27429f",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 226.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4177,
    "c": 0.15443,
    "h": 267
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27429F

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

Preview Lab → · Contrast checker → · Palette generator →

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