#2B429E#2B429E

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

Color values

HEX#2B429E
RGBrgb(43, 66, 158)
HSLhsl(228, 57%, 39%)
HSVhsv(228, 73%, 62%)
CMYKcmyk(72.8%, 58.2%, 0%, 38%)
CIE-LABlab(31.53, 24.00, -52.66)
CIE-LCHlch(31.53, 57.87, 294.50°)
OKLaboklab(41.88% -0.0043 -0.1518)
OKLCHoklch(41.88% 0.152 268.4)
XYZxyz(9.1139, 6.8777, 33.1883)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B429E #9E872B
analogous
#2B7C9E #2B429E #4E2B9E
triadic
#2B429E #9E2B42 #429E2B
tetradic
#2B429E #9E2B7C #9E872B #2B9E4E
square
#2B429E #9E2B7C #9E872B #2B9E4E
split-complementary
#2B429E #9E4E2B #7C9E2B
monochromatic
#111A3E #1E2E6E #2B429E #3C59CA #6C82D7

Accessibility & contrast

On white

8.84
#2B429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B429E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B429E#FFFFFF#000000##FFFFFF
##2B429E1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.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: #2b429e;
/* rgb */ color: rgb(43, 66, 158);
/* oklch */ color: oklch(41.9% 0.152 268.4);
Tailwind
colors: {
  custom: {
    50: '#7476bb',
    500: '#2b429e',
    950: '#000000',
  },
}
SCSS
$custom: #2b429e;
$custom-light: #7476bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b429e",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 228,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4188,
    "c": 0.15187,
    "h": 268.4
  },
  "luminance": 0.06879
}

Semantic roles & 50–950 ramp

primary
#2B429E
secondary
#BEAC67
accent
#C247E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B429E

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

Preview Lab → · Contrast checker → · Palette generator →

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