#2B41A6#2B41A6

#2B41A6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.164 H 268.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2B41A6
RGBrgb(43, 65, 166)
HSLhsl(229, 59%, 41%)
HSVhsv(229, 74%, 65%)
CMYKcmyk(74.1%, 60.8%, 0%, 34.9%)
CIE-LABlab(31.91, 27.68, -56.85)
CIE-LCHlch(31.91, 63.23, 295.96°)
OKLaboklab(42.37% -0.0034 -0.1641)
OKLCHoklch(42.37% 0.164 268.8)
XYZxyz(9.7671, 7.0463, 36.9143)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41A6 #A6902B
analogous
#2B7EA6 #2B41A6 #522BA6
triadic
#2B41A6 #A62B41 #41A62B
tetradic
#2B41A6 #A62B7E #A6902B #2BA652
square
#2B41A6 #A62B7E #A6902B #2BA652
split-complementary
#2B41A6 #A6522B #7EA62B
monochromatic
#121B45 #1E2E75 #2B41A6 #415ACE #7184DA

Accessibility & contrast

On white

8.72
#2B41A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2B41A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41A6
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41A6#FFFFFF#000000##FFFFFF
##2B41A61.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b41a6;
/* rgb */ color: rgb(43, 65, 166);
/* oklch */ color: oklch(42.4% 0.164 268.8);
Tailwind
colors: {
  custom: {
    50: '#7675c1',
    500: '#2b41a6',
    950: '#000000',
  },
}
SCSS
$custom: #2b41a6;
$custom-light: #7675c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41a6",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 166
  },
  "hsl": {
    "h": 229.268,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4237,
    "c": 0.16418,
    "h": 268.8
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#2B41A6
secondary
#C1B26B
accent
#C646E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B41A6

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

Preview Lab → · Contrast checker → · Palette generator →

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