#2C429C#2C429C

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

Color values

HEX#2C429C
RGBrgb(44, 66, 156)
HSLhsl(228, 56%, 39%)
HSVhsv(228, 72%, 61%)
CMYKcmyk(71.8%, 57.7%, 0%, 38.8%)
CIE-LABlab(31.42, 23.38, -51.62)
CIE-LCHlch(31.42, 56.66, 294.37°)
OKLaboklab(41.76% -0.0034 -0.1487)
OKLCHoklch(41.76% 0.149 268.7)
XYZxyz(8.9856, 6.8313, 32.2911)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C429C #9C862C
analogous
#2C7A9C #2C429C #4E2C9C
triadic
#2C429C #9C2C42 #429C2C
tetradic
#2C429C #9C2C7A #9C862C #2C9C4E
square
#2C429C #9C2C7A #9C862C #2C9C4E
split-complementary
#2C429C #9C4E2C #7A9C2C
monochromatic
#111A3D #1F2E6C #2C429C #3D58C8 #6D81D6

Accessibility & contrast

On white

8.87
#2C429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C429C
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C429C#FFFFFF#000000##FFFFFF
##2C429C1.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)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c429c;
/* rgb */ color: rgb(44, 66, 156);
/* oklch */ color: oklch(41.8% 0.149 268.7);
Tailwind
colors: {
  custom: {
    50: '#7476ba',
    500: '#2c429c',
    950: '#000000',
  },
}
SCSS
$custom: #2c429c;
$custom-light: #7476ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c429c",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 228.214,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41764,
    "c": 0.14877,
    "h": 268.7
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#2C429C
secondary
#BDAC67
accent
#C249DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C429C

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

Preview Lab → · Contrast checker → · Palette generator →

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