#2D429C#2D429C

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

Color values

HEX#2D429C
RGBrgb(45, 66, 156)
HSLhsl(229, 55%, 39%)
HSVhsv(229, 71%, 61%)
CMYKcmyk(71.2%, 57.7%, 0%, 38.8%)
CIE-LABlab(31.47, 23.52, -51.53)
CIE-LCHlch(31.47, 56.64, 294.54°)
OKLaboklab(41.82% -0.0024 -0.1484)
OKLCHoklch(41.82% 0.148 269.1)
XYZxyz(9.0291, 6.8537, 32.2931)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D429C #9C872D
analogous
#2D7A9C #2D429C #502D9C
triadic
#2D429C #9C2D42 #429C2D
tetradic
#2D429C #9C2D7A #9C872D #2D9C50
square
#2D429C #9C2D7A #9C872D #2D9C50
split-complementary
#2D429C #9C502D #7A9C2D
monochromatic
#121A3D #1F2E6D #2D429C #3F59C8 #6E82D5

Accessibility & contrast

On white

8.86
#2D429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D429C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D429C#FFFFFF#000000##FFFFFF
##2D429C1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.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: #2d429c;
/* rgb */ color: rgb(45, 66, 156);
/* oklch */ color: oklch(41.8% 0.148 269.1);
Tailwind
colors: {
  custom: {
    50: '#7576ba',
    500: '#2d429c',
    950: '#000000',
  },
}
SCSS
$custom: #2d429c;
$custom-light: #7576ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d429c",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 228.649,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41817,
    "c": 0.14847,
    "h": 269.1
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D429C

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

Preview Lab → · Contrast checker → · Palette generator →

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