#2B43A4#2B43A4

#2B43A4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.159 H 268.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2B43A4
RGBrgb(43, 67, 164)
HSLhsl(228, 58%, 41%)
HSVhsv(228, 74%, 64%)
CMYKcmyk(73.8%, 59.1%, 0%, 35.7%)
CIE-LABlab(32.27, 25.60, -55.06)
CIE-LCHlch(32.27, 60.72, 294.93°)
OKLaboklab(42.59% -0.0049 -0.1588)
OKLCHoklch(42.59% 0.159 268.2)
XYZxyz(9.7019, 7.2072, 35.9946)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B43A4 #A48C2B
analogous
#2B7FA4 #2B43A4 #4F2BA4
triadic
#2B43A4 #A42B43 #43A42B
tetradic
#2B43A4 #A42B7F #A48C2B #2BA44F
square
#2B43A4 #A42B7F #A48C2B #2BA44F
split-complementary
#2B43A4 #A44F2B #7FA42B
monochromatic
#121B43 #1E2F74 #2B43A4 #3F5BCD #7085D9

Accessibility & contrast

On white

8.60
#2B43A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2B43A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B43A4
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B43A4#FFFFFF#000000##FFFFFF
##2B43A41.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b43a4;
/* rgb */ color: rgb(43, 67, 164);
/* oklch */ color: oklch(42.6% 0.159 268.2);
Tailwind
colors: {
  custom: {
    50: '#7676c0',
    500: '#2b43a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b43a4;
$custom-light: #7676c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b43a4",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 164
  },
  "hsl": {
    "h": 228.099,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42589,
    "c": 0.15893,
    "h": 268.2
  },
  "luminance": 0.07208
}

Semantic roles & 50–950 ramp

primary
#2B43A4
secondary
#C1AF6A
accent
#C346E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B43A4

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

Preview Lab → · Contrast checker → · Palette generator →

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