#2B429D#2B429D

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

Color values

HEX#2B429D
RGBrgb(43, 66, 157)
HSLhsl(228, 57%, 39%)
HSVhsv(228, 73%, 62%)
CMYKcmyk(72.6%, 58%, 0%, 38.4%)
CIE-LABlab(31.45, 23.62, -52.18)
CIE-LCHlch(31.45, 57.27, 294.35°)
OKLaboklab(41.8% -0.0043 -0.1504)
OKLCHoklch(41.8% 0.15 268.3)
XYZxyz(9.0282, 6.8434, 32.7369)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B429D #9D862B
analogous
#2B7B9D #2B429D #4D2B9D
triadic
#2B429D #9D2B42 #429D2B
tetradic
#2B429D #9D2B7B #9D862B #2B9D4D
square
#2B429D #9D2B7B #9D862B #2B9D4D
split-complementary
#2B429D #9D4D2B #7B9D2B
monochromatic
#111A3D #1E2E6D #2B429D #3C58CA #6C81D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B429D#FFFFFF#000000##FFFFFF
##2B429D1.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)
#004FA0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b429d;
/* rgb */ color: rgb(43, 66, 157);
/* oklch */ color: oklch(41.8% 0.150 268.3);
Tailwind
colors: {
  custom: {
    50: '#7476bb',
    500: '#2b429d',
    950: '#000000',
  },
}
SCSS
$custom: #2b429d;
$custom-light: #7476bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b429d",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 227.895,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41796,
    "c": 0.15046,
    "h": 268.3
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#2B429D
secondary
#BDAC66
accent
#C148E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B429D

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

Preview Lab → · Contrast checker → · Palette generator →

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