#2B41B5#2B41B5

#2B41B5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.184 H 268.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2B41B5
RGBrgb(43, 65, 181)
HSLhsl(230, 62%, 44%)
HSVhsv(230, 76%, 71%)
CMYKcmyk(76.2%, 64.1%, 0%, 29%)
CIE-LABlab(33.20, 33.25, -63.69)
CIE-LCHlch(33.20, 71.85, 297.56°)
OKLaboklab(43.72% -0.0037 -0.1842)
OKLCHoklch(43.72% 0.184 268.8)
XYZxyz(11.2242, 7.6291, 44.5881)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41B5 #B59F2B
analogous
#2B86B5 #2B41B5 #5A2BB5
triadic
#2B41B5 #B52B41 #41B52B
tetradic
#2B41B5 #B52B86 #B59F2B #2BB55A
square
#2B41B5 #B52B86 #B59F2B #2BB55A
split-complementary
#2B41B5 #B55A2B #86B52B
monochromatic
#141D52 #1F2F84 #2B41B5 #495FD4 #7B8BE0

Accessibility & contrast

On white

8.31
#2B41B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B41B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41B5
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41B5#FFFFFF#000000##FFFFFF
##2B41B51.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b41b5;
/* rgb */ color: rgb(43, 65, 181);
/* oklch */ color: oklch(43.7% 0.184 268.8);
Tailwind
colors: {
  custom: {
    50: '#7a75cc',
    500: '#2b41b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b41b5;
$custom-light: #7a75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41b5",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 230.435,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43719,
    "c": 0.18425,
    "h": 268.8
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#2B41B5
secondary
#C8BA74
accent
#CB43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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