#2B43AC#2B43AC

#2B43AC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.170 H 268.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2B43AC
RGBrgb(43, 67, 172)
HSLhsl(229, 60%, 42%)
HSVhsv(229, 75%, 67%)
CMYKcmyk(75%, 61%, 0%, 32.5%)
CIE-LABlab(32.93, 28.60, -58.78)
CIE-LCHlch(32.93, 65.37, 295.95°)
OKLaboklab(43.28% -0.0048 -0.1698)
OKLCHoklch(43.28% 0.17 268.4)
XYZxyz(10.4472, 7.5053, 39.9198)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B43AC #AC942B
analogous
#2B84AC #2B43AC #532BAC
triadic
#2B43AC #AC2B43 #43AC2B
tetradic
#2B43AC #AC2B84 #AC942B #2BAC53
square
#2B43AC #AC2B84 #AC942B #2BAC53
split-complementary
#2B43AC #AC532B #84AC2B
monochromatic
#131D4A #1F307B #2B43AC #445ED0 #7588DC

Accessibility & contrast

On white

8.40
#2B43AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2B43AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B43AC
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B43AC#FFFFFF#000000##FFFFFF
##2B43AC1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b43ac;
/* rgb */ color: rgb(43, 67, 172);
/* oklch */ color: oklch(43.3% 0.170 268.4);
Tailwind
colors: {
  custom: {
    50: '#7876c6',
    500: '#2b43ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b43ac;
$custom-light: #7876c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b43ac",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 228.837,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43282,
    "c": 0.16985,
    "h": 268.4
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#2B43AC
secondary
#C4B46F
accent
#C645E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B43AC

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

Preview Lab → · Contrast checker → · Palette generator →

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