#2D429F#2D429F

#2D429F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.153 H 269.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2D429F
RGBrgb(45, 66, 159)
HSLhsl(229, 56%, 40%)
HSVhsv(229, 72%, 62%)
CMYKcmyk(71.7%, 58.5%, 0%, 37.6%)
CIE-LABlab(31.71, 24.65, -52.96)
CIE-LCHlch(31.71, 58.42, 294.96°)
OKLaboklab(42.07% -0.0023 -0.1527)
OKLCHoklch(42.07% 0.153 269.1)
XYZxyz(9.2863, 6.9566, 33.6475)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D429F #9F8A2D
analogous
#2D7B9F #2D429F #512D9F
triadic
#2D429F #9F2D42 #429F2D
tetradic
#2D429F #9F2D7B #9F8A2D #2D9F51
square
#2D429F #9F2D7B #9F8A2D #2D9F51
split-complementary
#2D429F #9F512D #7B9F2D
monochromatic
#121A40 #202E6F #2D429F #4059C9 #7083D6

Accessibility & contrast

On white

8.78
#2D429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D429F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D429F#FFFFFF#000000##FFFFFF
##2D429F1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d429f;
/* rgb */ color: rgb(45, 66, 159);
/* oklch */ color: oklch(42.1% 0.153 269.1);
Tailwind
colors: {
  custom: {
    50: '#7576bc',
    500: '#2d429f',
    950: '#000000',
  },
}
SCSS
$custom: #2d429f;
$custom-light: #7576bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d429f",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 228.947,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.42068,
    "c": 0.15268,
    "h": 269.1
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#2D429F
secondary
#BEAE6A
accent
#C349DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D429F

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

Preview Lab → · Contrast checker → · Palette generator →

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