#2D429D#2D429D

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

Color values

HEX#2D429D
RGBrgb(45, 66, 157)
HSLhsl(229, 55%, 40%)
HSVhsv(229, 71%, 62%)
CMYKcmyk(71.3%, 58%, 0%, 38.4%)
CIE-LABlab(31.55, 23.90, -52.01)
CIE-LCHlch(31.55, 57.24, 294.68°)
OKLaboklab(41.9% -0.0024 -0.1499)
OKLCHoklch(41.9% 0.15 269.1)
XYZxyz(9.1141, 6.8877, 32.7409)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D429D #9D882D
analogous
#2D7A9D #2D429D #502D9D
triadic
#2D429D #9D2D42 #429D2D
tetradic
#2D429D #9D2D7A #9D882D #2D9D50
square
#2D429D #9D2D7A #9D882D #2D9D50
split-complementary
#2D429D #9D502D #7A9D2D
monochromatic
#121A3E #1F2E6D #2D429D #3F59C8 #6F82D6

Accessibility & contrast

On white

8.83
#2D429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D429D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D429D#FFFFFF#000000##FFFFFF
##2D429D1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d429d;
/* rgb */ color: rgb(45, 66, 157);
/* oklch */ color: oklch(41.9% 0.150 269.1);
Tailwind
colors: {
  custom: {
    50: '#7576bb',
    500: '#2d429d',
    950: '#000000',
  },
}
SCSS
$custom: #2d429d;
$custom-light: #7576bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d429d",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 228.75,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.419,
    "c": 0.14988,
    "h": 269.1
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D429D

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

Preview Lab → · Contrast checker → · Palette generator →

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