#2B43B1#2B43B1

#2B43B1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.177 H 268.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2B43B1
RGBrgb(43, 67, 177)
HSLhsl(229, 61%, 43%)
HSVhsv(229, 76%, 69%)
CMYKcmyk(75.7%, 62.1%, 0%, 30.6%)
CIE-LABlab(33.35, 30.47, -61.07)
CIE-LCHlch(33.35, 68.25, 296.51°)
OKLaboklab(43.73% -0.0049 -0.1765)
OKLCHoklch(43.73% 0.177 268.4)
XYZxyz(10.9365, 7.7010, 42.4965)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B43B1 #B1992B
analogous
#2B86B1 #2B43B1 #562BB1
triadic
#2B43B1 #B12B43 #43B12B
tetradic
#2B43B1 #B12B86 #B1992B #2BB156
square
#2B43B1 #B12B86 #B1992B #2BB156
split-complementary
#2B43B1 #B1562B #86B12B
monochromatic
#131E4F #1F3080 #2B43B1 #4760D2 #788ADE

Accessibility & contrast

On white

8.27
#2B43B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B43B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B43B1
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B43B1#FFFFFF#000000##FFFFFF
##2B43B11.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b43b1;
/* rgb */ color: rgb(43, 67, 177);
/* oklch */ color: oklch(43.7% 0.177 268.4);
Tailwind
colors: {
  custom: {
    50: '#7977c9',
    500: '#2b43b1',
    950: '#000000',
  },
}
SCSS
$custom: #2b43b1;
$custom-light: #7977c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b43b1",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 177
  },
  "hsl": {
    "h": 229.254,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43726,
    "c": 0.17656,
    "h": 268.4
  },
  "luminance": 0.07702
}

Semantic roles & 50–950 ramp

primary
#2B43B1
secondary
#C6B772
accent
#C744E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B43B1

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

Preview Lab → · Contrast checker → · Palette generator →

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