#2B43B3#2B43B3

#2B43B3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.179 H 268.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2B43B3
RGBrgb(43, 67, 179)
HSLhsl(229, 61%, 44%)
HSVhsv(229, 76%, 70%)
CMYKcmyk(76%, 62.6%, 0%, 29.8%)
CIE-LABlab(33.52, 31.21, -61.98)
CIE-LCHlch(33.52, 69.39, 296.73°)
OKLaboklab(43.91% -0.0049 -0.1792)
OKLCHoklch(43.91% 0.179 268.4)
XYZxyz(11.1373, 7.7814, 43.5541)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B43B3 #B39B2B
analogous
#2B87B3 #2B43B3 #572BB3
triadic
#2B43B3 #B32B43 #43B32B
tetradic
#2B43B3 #B32B87 #B39B2B #2BB357
square
#2B43B3 #B32B87 #B39B2B #2BB357
split-complementary
#2B43B3 #B3572B #87B32B
monochromatic
#131E50 #1F3182 #2B43B3 #4861D3 #798BDF

Accessibility & contrast

On white

8.21
#2B43B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2B43B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B43B3
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B43B3#FFFFFF#000000##FFFFFF
##2B43B31.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b43b3;
/* rgb */ color: rgb(43, 67, 179);
/* oklch */ color: oklch(43.9% 0.179 268.4);
Tailwind
colors: {
  custom: {
    50: '#7977cb',
    500: '#2b43b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b43b3;
$custom-light: #7977cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b43b3",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 179
  },
  "hsl": {
    "h": 229.412,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43905,
    "c": 0.17923,
    "h": 268.4
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#2B43B3
secondary
#C7B873
accent
#C843E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B43B3

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

Preview Lab → · Contrast checker → · Palette generator →

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