#27429D#27429D

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

Color values

HEX#27429D
RGBrgb(39, 66, 157)
HSLhsl(226, 60%, 38%)
HSVhsv(226, 75%, 62%)
CMYKcmyk(75.2%, 58%, 0%, 38.4%)
CIE-LABlab(31.26, 23.09, -52.50)
CIE-LCHlch(31.26, 57.35, 293.74°)
OKLaboklab(41.6% -0.0081 -0.1514)
OKLCHoklch(41.6% 0.152 267)
XYZxyz(8.8686, 6.7611, 32.7294)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27429D #9D8227
analogous
#277D9D #27429D #47279D
triadic
#27429D #9D2742 #429D27
tetradic
#27429D #9D277D #9D8227 #279D47
square
#27429D #9D277D #9D8227 #279D47
split-complementary
#27429D #9D4727 #7D9D27
monochromatic
#0F193B #1B2D6C #27429D #3557CD #6680D9

Accessibility & contrast

On white

8.93
#27429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#27429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27429D
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27429D#FFFFFF#000000##FFFFFF
##27429D1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #27429d;
/* rgb */ color: rgb(39, 66, 157);
/* oklch */ color: oklch(41.6% 0.152 267.0);
Tailwind
colors: {
  custom: {
    50: '#7376bb',
    500: '#27429d',
    950: '#000000',
  },
}
SCSS
$custom: #27429d;
$custom-light: #7376bb;
$custom-dark: #000000;
JSON
{
  "hex": "#27429d",
  "rgb": {
    "r": 39,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 226.271,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.416,
    "c": 0.15164,
    "h": 267
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#27429D
secondary
#BFA961
accent
#BF44E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #27429D

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

Preview Lab → · Contrast checker → · Palette generator →

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