#2B43A3#2B43A3

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

Color values

HEX#2B43A3
RGBrgb(43, 67, 163)
HSLhsl(228, 58%, 40%)
HSVhsv(228, 74%, 64%)
CMYKcmyk(73.6%, 58.9%, 0%, 36.1%)
CIE-LABlab(32.19, 25.22, -54.59)
CIE-LCHlch(32.19, 60.13, 294.80°)
OKLaboklab(42.5% -0.005 -0.1575)
OKLCHoklch(42.5% 0.158 268.2)
XYZxyz(9.6120, 7.1712, 35.5208)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B43A3 #A38B2B
analogous
#2B7FA3 #2B43A3 #4F2BA3
triadic
#2B43A3 #A32B43 #43A32B
tetradic
#2B43A3 #A32B7F #A38B2B #2BA34F
square
#2B43A3 #A32B7F #A38B2B #2BA34F
split-complementary
#2B43A3 #A34F2B #7FA32B
monochromatic
#111B42 #1E2F73 #2B43A3 #3F5BCC #6F84D9

Accessibility & contrast

On white

8.63
#2B43A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2B43A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B43A3
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B43A3#FFFFFF#000000##FFFFFF
##2B43A31.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b43a3;
/* rgb */ color: rgb(43, 67, 163);
/* oklch */ color: oklch(42.5% 0.158 268.2);
Tailwind
colors: {
  custom: {
    50: '#7676bf',
    500: '#2b43a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b43a3;
$custom-light: #7676bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b43a3",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 163
  },
  "hsl": {
    "h": 228,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42503,
    "c": 0.15755,
    "h": 268.2
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#2B43A3
secondary
#C0AF6A
accent
#C246E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B43A3

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

Preview Lab → · Contrast checker → · Palette generator →

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