#2B41A4#2B41A4

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

Color values

HEX#2B41A4
RGBrgb(43, 65, 164)
HSLhsl(229, 58%, 41%)
HSVhsv(229, 74%, 64%)
CMYKcmyk(73.8%, 60.4%, 0%, 35.7%)
CIE-LABlab(31.75, 26.93, -55.92)
CIE-LCHlch(31.75, 62.06, 295.71°)
OKLaboklab(42.2% -0.0034 -0.1614)
OKLCHoklch(42.2% 0.161 268.8)
XYZxyz(9.5851, 6.9735, 35.9556)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41A4 #A48E2B
analogous
#2B7DA4 #2B41A4 #512BA4
triadic
#2B41A4 #A42B41 #41A42B
tetradic
#2B41A4 #A42B7D #A48E2B #2BA451
square
#2B41A4 #A42B7D #A48E2B #2BA451
split-complementary
#2B41A4 #A4512B #7DA42B
monochromatic
#121B43 #1E2E74 #2B41A4 #3F59CD #7083D9

Accessibility & contrast

On white

8.77
#2B41A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2B41A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41A4
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41A4#FFFFFF#000000##FFFFFF
##2B41A41.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0045A2
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b41a4;
/* rgb */ color: rgb(43, 65, 164);
/* oklch */ color: oklch(42.2% 0.161 268.8);
Tailwind
colors: {
  custom: {
    50: '#7675c0',
    500: '#2b41a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b41a4;
$custom-light: #7675c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41a4",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 229.091,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42196,
    "c": 0.16144,
    "h": 268.8
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#2B41A4
secondary
#C1B16A
accent
#C546E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B41A4

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

Preview Lab → · Contrast checker → · Palette generator →

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