#2C429F#2C429F

#2C429F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.153 H 268.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2C429F
RGBrgb(44, 66, 159)
HSLhsl(229, 57%, 40%)
HSVhsv(229, 72%, 62%)
CMYKcmyk(72.3%, 58.5%, 0%, 37.6%)
CIE-LABlab(31.66, 24.51, -53.05)
CIE-LCHlch(31.66, 58.44, 294.80°)
OKLaboklab(42.02% -0.0033 -0.1529)
OKLCHoklch(42.02% 0.153 268.8)
XYZxyz(9.2428, 6.9342, 33.6455)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C429F #9F892C
analogous
#2C7B9F #2C429F #502C9F
triadic
#2C429F #9F2C42 #429F2C
tetradic
#2C429F #9F2C7B #9F892C #2C9F50
square
#2C429F #9F2C7B #9F892C #2C9F50
split-complementary
#2C429F #9F502C #7B9F2C
monochromatic
#111A3F #1F2E6F #2C429F #3E59CA #6E82D7

Accessibility & contrast

On white

8.80
#2C429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C429F
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C429F#FFFFFF#000000##FFFFFF
##2C429F1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.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: #2c429f;
/* rgb */ color: rgb(44, 66, 159);
/* oklch */ color: oklch(42.0% 0.153 268.8);
Tailwind
colors: {
  custom: {
    50: '#7576bc',
    500: '#2c429f',
    950: '#000000',
  },
}
SCSS
$custom: #2c429f;
$custom-light: #7576bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c429f",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 228.522,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42015,
    "c": 0.15298,
    "h": 268.8
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#2C429F
secondary
#BEAE69
accent
#C348E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C429F

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

Preview Lab → · Contrast checker → · Palette generator →

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