#2B41BC#2B41BC

#2B41BC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.193 H 268.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2B41BC
RGBrgb(43, 65, 188)
HSLhsl(231, 63%, 45%)
HSVhsv(231, 77%, 74%)
CMYKcmyk(77.1%, 65.4%, 0%, 26.3%)
CIE-LABlab(33.82, 35.80, -66.80)
CIE-LCHlch(33.82, 75.79, 298.19°)
OKLaboklab(44.37% -0.004 -0.1933)
OKLCHoklch(44.37% 0.193 268.8)
XYZxyz(11.9605, 7.9237, 48.4663)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41BC #BCA62B
analogous
#2B89BC #2B41BC #5E2BBC
triadic
#2B41BC #BC2B41 #41BC2B
tetradic
#2B41BC #BC2B89 #BCA62B #2BBC5E
square
#2B41BC #BC2B89 #BCA62B #2BBC5E
split-complementary
#2B41BC #BC5E2B #89BC2B
monochromatic
#141F58 #20308A #2B41BC #4E62D6 #808EE2

Accessibility & contrast

On white

8.12
#2B41BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2B41BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41BC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41BC#FFFFFF#000000##FFFFFF
##2B41BC1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b41bc;
/* rgb */ color: rgb(43, 65, 188);
/* oklch */ color: oklch(44.4% 0.193 268.8);
Tailwind
colors: {
  custom: {
    50: '#7c75d1',
    500: '#2b41bc',
    950: '#000000',
  },
}
SCSS
$custom: #2b41bc;
$custom-light: #7c75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41bc",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 230.897,
    "s": 62.771,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4437,
    "c": 0.19334,
    "h": 268.8
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#2B41BC
secondary
#CBBE78
accent
#CD42E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2B41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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