#2C429D#2C429D

#2C429D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.150 H 268.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2C429D
RGBrgb(44, 66, 157)
HSLhsl(228, 56%, 39%)
HSVhsv(228, 72%, 62%)
CMYKcmyk(72%, 58%, 0%, 38.4%)
CIE-LABlab(31.50, 23.76, -52.09)
CIE-LCHlch(31.50, 57.26, 294.51°)
OKLaboklab(41.85% -0.0034 -0.1501)
OKLCHoklch(41.85% 0.15 268.7)
XYZxyz(9.0706, 6.8653, 32.7389)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C429D #9D872C
analogous
#2C7A9D #2C429D #4F2C9D
triadic
#2C429D #9D2C42 #429D2C
tetradic
#2C429D #9D2C7A #9D872C #2C9D4F
square
#2C429D #9D2C7A #9D872C #2C9D4F
split-complementary
#2C429D #9D4F2C #7A9D2C
monochromatic
#111A3D #1F2E6D #2C429D #3D59C9 #6D82D6

Accessibility & contrast

On white

8.85
#2C429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C429D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C429D
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C429D#FFFFFF#000000##FFFFFF
##2C429D1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c429d;
/* rgb */ color: rgb(44, 66, 157);
/* oklch */ color: oklch(41.8% 0.150 268.7);
Tailwind
colors: {
  custom: {
    50: '#7576bb',
    500: '#2c429d',
    950: '#000000',
  },
}
SCSS
$custom: #2c429d;
$custom-light: #7576bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c429d",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 228.319,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41847,
    "c": 0.15017,
    "h": 268.7
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#2C429D
secondary
#BDAC68
accent
#C248E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C429D

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

Preview Lab → · Contrast checker → · Palette generator →

#2C429D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva