#2B41B7#2B41B7

#2B41B7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.187 H 268.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2B41B7
RGBrgb(43, 65, 183)
HSLhsl(231, 62%, 44%)
HSVhsv(231, 77%, 72%)
CMYKcmyk(76.5%, 64.5%, 0%, 28.2%)
CIE-LABlab(33.38, 33.98, -64.59)
CIE-LCHlch(33.38, 72.98, 297.75°)
OKLaboklab(43.9% -0.0038 -0.1868)
OKLCHoklch(43.9% 0.187 268.8)
XYZxyz(11.4309, 7.7118, 45.6767)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41B7 #B7A12B
analogous
#2B87B7 #2B41B7 #5B2BB7
triadic
#2B41B7 #B72B41 #41B72B
tetradic
#2B41B7 #B72B87 #B7A12B #2BB75B
square
#2B41B7 #B72B87 #B7A12B #2BB75B
split-complementary
#2B41B7 #B75B2B #87B72B
monochromatic
#141E54 #1F2F85 #2B41B7 #4B60D5 #7C8CE0

Accessibility & contrast

On white

8.26
#2B41B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B41B7
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41B7#FFFFFF#000000##FFFFFF
##2B41B71.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b41b7;
/* rgb */ color: rgb(43, 65, 183);
/* oklch */ color: oklch(43.9% 0.187 268.8);
Tailwind
colors: {
  custom: {
    50: '#7a75ce',
    500: '#2b41b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b41b7;
$custom-light: #7a75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41b7",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 230.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.18686,
    "h": 268.8
  },
  "luminance": 0.07713
}

Semantic roles & 50–950 ramp

primary
#2B41B7
secondary
#C9BB75
accent
#CC43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2B41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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