#2B43AA#2B43AA

#2B43AA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.167 H 268.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2B43AA
RGBrgb(43, 67, 170)
HSLhsl(229, 60%, 42%)
HSVhsv(229, 75%, 67%)
CMYKcmyk(74.7%, 60.6%, 0%, 33.3%)
CIE-LABlab(32.76, 27.85, -57.86)
CIE-LCHlch(32.76, 64.21, 295.71°)
OKLaboklab(43.11% -0.0048 -0.1671)
OKLCHoklch(43.11% 0.167 268.3)
XYZxyz(10.2566, 7.4291, 38.9158)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B43AA #AA922B
analogous
#2B83AA #2B43AA #522BAA
triadic
#2B43AA #AA2B43 #43AA2B
tetradic
#2B43AA #AA2B83 #AA922B #2BAA52
square
#2B43AA #AA2B83 #AA922B #2BAA52
split-complementary
#2B43AA #AA522B #83AA2B
monochromatic
#121C48 #1F3079 #2B43AA #435DCF #7487DC

Accessibility & contrast

On white

8.45
#2B43AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B43AA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B43AA#FFFFFF#000000##FFFFFF
##2B43AA1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b43aa;
/* rgb */ color: rgb(43, 67, 170);
/* oklch */ color: oklch(43.1% 0.167 268.3);
Tailwind
colors: {
  custom: {
    50: '#7776c4',
    500: '#2b43aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b43aa;
$custom-light: #7776c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b43aa",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 228.661,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43107,
    "c": 0.16714,
    "h": 268.3
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B43AA

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

Preview Lab → · Contrast checker → · Palette generator →

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