#2B429C#2B429C

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

Color values

HEX#2B429C
RGBrgb(43, 66, 156)
HSLhsl(228, 57%, 39%)
HSVhsv(228, 72%, 61%)
CMYKcmyk(72.4%, 57.7%, 0%, 38.8%)
CIE-LABlab(31.37, 23.24, -51.70)
CIE-LCHlch(31.37, 56.68, 294.20°)
OKLaboklab(41.71% -0.0044 -0.149)
OKLCHoklch(41.71% 0.149 268.3)
XYZxyz(8.9432, 6.8094, 32.2891)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B429C #9C852B
analogous
#2B7B9C #2B429C #4D2B9C
triadic
#2B429C #9C2B42 #429C2B
tetradic
#2B429C #9C2B7B #9C852B #2B9C4D
square
#2B429C #9C2B7B #9C852B #2B9C4D
split-complementary
#2B429C #9C4D2B #7B9C2B
monochromatic
#11193C #1E2E6C #2B429C #3B58C9 #6B81D6

Accessibility & contrast

On white

8.89
#2B429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B429C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B429C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B429C#FFFFFF#000000##FFFFFF
##2B429C1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b429c;
/* rgb */ color: rgb(43, 66, 156);
/* oklch */ color: oklch(41.7% 0.149 268.3);
Tailwind
colors: {
  custom: {
    50: '#7476ba',
    500: '#2b429c',
    950: '#000000',
  },
}
SCSS
$custom: #2b429c;
$custom-light: #7476ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b429c",
  "rgb": {
    "r": 43,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 227.788,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.14906,
    "h": 268.3
  },
  "luminance": 0.0681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B429C

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

Preview Lab → · Contrast checker → · Palette generator →

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