#2D429E#2D429E

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

Color values

HEX#2D429E
RGBrgb(45, 66, 158)
HSLhsl(229, 56%, 40%)
HSVhsv(229, 72%, 62%)
CMYKcmyk(71.5%, 58.2%, 0%, 38%)
CIE-LABlab(31.63, 24.27, -52.48)
CIE-LCHlch(31.63, 57.83, 294.82°)
OKLaboklab(41.98% -0.0024 -0.1513)
OKLCHoklch(41.98% 0.151 269.1)
XYZxyz(9.1998, 6.9220, 33.1924)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D429E #9E892D
analogous
#2D7A9E #2D429E #512D9E
triadic
#2D429E #9E2D42 #429E2D
tetradic
#2D429E #9E2D7A #9E892D #2D9E51
square
#2D429E #9E2D7A #9E892D #2D9E51
split-complementary
#2D429E #9E512D #7A9E2D
monochromatic
#121A3F #1F2E6E #2D429E #4059C9 #6F82D6

Accessibility & contrast

On white

8.81
#2D429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2D429E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D429E
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D429E#FFFFFF#000000##FFFFFF
##2D429E1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d429e;
/* rgb */ color: rgb(45, 66, 158);
/* oklch */ color: oklch(42.0% 0.151 269.1);
Tailwind
colors: {
  custom: {
    50: '#7576bb',
    500: '#2d429e',
    950: '#000000',
  },
}
SCSS
$custom: #2d429e;
$custom-light: #7576bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d429e",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 228.85,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.15128,
    "h": 269.1
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#2D429E
secondary
#BDAE69
accent
#C349DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2D429E

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

Preview Lab → · Contrast checker → · Palette generator →

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