#2B41B1#2B41B1

#2B41B1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.179 H 268.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2B41B1
RGBrgb(43, 65, 177)
HSLhsl(230, 61%, 43%)
HSVhsv(230, 76%, 69%)
CMYKcmyk(75.7%, 63.3%, 0%, 30.6%)
CIE-LABlab(32.85, 31.77, -61.89)
CIE-LCHlch(32.85, 69.57, 297.17°)
OKLaboklab(43.35% -0.0036 -0.1789)
OKLCHoklch(43.35% 0.179 268.9)
XYZxyz(10.8196, 7.4673, 42.4576)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41B1 #B19B2B
analogous
#2B84B1 #2B41B1 #582BB1
triadic
#2B41B1 #B12B41 #41B12B
tetradic
#2B41B1 #B12B84 #B19B2B #2BB158
square
#2B41B1 #B12B84 #B19B2B #2BB158
split-complementary
#2B41B1 #B1582B #84B12B
monochromatic
#131D4F #1F2F80 #2B41B1 #475ED2 #7889DE

Accessibility & contrast

On white

8.42
#2B41B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2B41B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41B1
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41B1#FFFFFF#000000##FFFFFF
##2B41B11.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b41b1;
/* rgb */ color: rgb(43, 65, 177);
/* oklch */ color: oklch(43.4% 0.179 268.9);
Tailwind
colors: {
  custom: {
    50: '#7975c9',
    500: '#2b41b1',
    950: '#000000',
  },
}
SCSS
$custom: #2b41b1;
$custom-light: #7975c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41b1",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 230.149,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.17897,
    "h": 268.9
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#2B41B1
secondary
#C6B872
accent
#CA44E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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