#2B43AB#2B43AB

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

Color values

HEX#2B43AB
RGBrgb(43, 67, 171)
HSLhsl(229, 60%, 42%)
HSVhsv(229, 75%, 67%)
CMYKcmyk(74.9%, 60.8%, 0%, 32.9%)
CIE-LABlab(32.85, 28.23, -58.32)
CIE-LCHlch(32.85, 64.79, 295.83°)
OKLaboklab(43.19% -0.0048 -0.1684)
OKLCHoklch(43.19% 0.169 268.4)
XYZxyz(10.3516, 7.4671, 39.4159)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B43AB #AB932B
analogous
#2B83AB #2B43AB #532BAB
triadic
#2B43AB #AB2B43 #43AB2B
tetradic
#2B43AB #AB2B83 #AB932B #2BAB53
square
#2B43AB #AB2B83 #AB932B #2BAB53
split-complementary
#2B43AB #AB532B #83AB2B
monochromatic
#121D49 #1F307A #2B43AB #435ED0 #7488DC

Accessibility & contrast

On white

8.42
#2B43AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2B43AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B43AB
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B43AB#FFFFFF#000000##FFFFFF
##2B43AB1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b43ab;
/* rgb */ color: rgb(43, 67, 171);
/* oklch */ color: oklch(43.2% 0.169 268.4);
Tailwind
colors: {
  custom: {
    50: '#7776c5',
    500: '#2b43ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b43ab;
$custom-light: #7776c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b43ab",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 228.75,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43194,
    "c": 0.1685,
    "h": 268.4
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#2B43AB
secondary
#C4B46E
accent
#C545E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B43AB

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

Preview Lab → · Contrast checker → · Palette generator →

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