#28429D#28429D

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

Color values

HEX#28429D
RGBrgb(40, 66, 157)
HSLhsl(227, 59%, 39%)
HSVhsv(227, 75%, 62%)
CMYKcmyk(74.5%, 58%, 0%, 38.4%)
CIE-LABlab(31.30, 23.22, -52.42)
CIE-LCHlch(31.30, 57.33, 293.89°)
OKLaboklab(41.65% -0.0072 -0.1512)
OKLCHoklch(41.65% 0.151 267.3)
XYZxyz(8.9070, 6.7809, 32.7312)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28429D #9D8328
analogous
#287C9D #28429D #48289D
triadic
#28429D #9D2842 #429D28
tetradic
#28429D #9D287C #9D8328 #289D48
square
#28429D #9D287C #9D8328 #289D48
split-complementary
#28429D #9D4828 #7C9D28
monochromatic
#0F193B #1C2D6C #28429D #3658CC #6780D8

Accessibility & contrast

On white

8.91
#28429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#28429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28429D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28429D#FFFFFF#000000##FFFFFF
##28429D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.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: #28429d;
/* rgb */ color: rgb(40, 66, 157);
/* oklch */ color: oklch(41.6% 0.151 267.3);
Tailwind
colors: {
  custom: {
    50: '#7376bb',
    500: '#28429d',
    950: '#000000',
  },
}
SCSS
$custom: #28429d;
$custom-light: #7376bb;
$custom-dark: #000000;
JSON
{
  "hex": "#28429d",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 226.667,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41648,
    "c": 0.15135,
    "h": 267.3
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#28429D
secondary
#BEAA62
accent
#C045E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #28429D

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

Preview Lab → · Contrast checker → · Palette generator →

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