#2B41A1#2B41A1

#2B41A1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.157 H 268.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2B41A1
RGBrgb(43, 65, 161)
HSLhsl(229, 58%, 40%)
HSVhsv(229, 73%, 63%)
CMYKcmyk(73.3%, 59.6%, 0%, 36.9%)
CIE-LABlab(31.50, 25.80, -54.51)
CIE-LCHlch(31.50, 60.31, 295.33°)
OKLaboklab(41.94% -0.0035 -0.1573)
OKLCHoklch(41.94% 0.157 268.7)
XYZxyz(9.3174, 6.8664, 34.5456)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41A1 #A18B2B
analogous
#2B7CA1 #2B41A1 #502BA1
triadic
#2B41A1 #A12B41 #41A12B
tetradic
#2B41A1 #A12B7C #A18B2B #2BA150
square
#2B41A1 #A12B7C #A18B2B #2BA150
split-complementary
#2B41A1 #A1502B #7CA12B
monochromatic
#111A40 #1E2D71 #2B41A1 #3E58CB #6E82D8

Accessibility & contrast

On white

8.85
#2B41A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B41A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41A1
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41A1#FFFFFF#000000##FFFFFF
##2B41A11.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b41a1;
/* rgb */ color: rgb(43, 65, 161);
/* oklch */ color: oklch(41.9% 0.157 268.7);
Tailwind
colors: {
  custom: {
    50: '#7575be',
    500: '#2b41a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b41a1;
$custom-light: #7575be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41a1",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 161
  },
  "hsl": {
    "h": 228.814,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.41936,
    "c": 0.15731,
    "h": 268.7
  },
  "luminance": 0.06867
}

Semantic roles & 50–950 ramp

primary
#2B41A1
secondary
#BFAF69
accent
#C447E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B41A1

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

Preview Lab → · Contrast checker → · Palette generator →

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