#2B41AC#2B41AC

#2B41AC is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.172 H 268.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2B41AC
RGBrgb(43, 65, 172)
HSLhsl(230, 60%, 42%)
HSVhsv(230, 75%, 67%)
CMYKcmyk(75%, 62.2%, 0%, 32.5%)
CIE-LABlab(32.42, 29.92, -59.62)
CIE-LCHlch(32.42, 66.70, 296.65°)
OKLaboklab(42.9% -0.0035 -0.1723)
OKLCHoklch(42.9% 0.172 268.8)
XYZxyz(10.3304, 7.2716, 39.8809)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41AC #AC962B
analogous
#2B82AC #2B41AC #552BAC
triadic
#2B41AC #AC2B41 #41AC2B
tetradic
#2B41AC #AC2B82 #AC962B #2BAC55
square
#2B41AC #AC2B82 #AC962B #2BAC55
split-complementary
#2B41AC #AC552B #82AC2B
monochromatic
#131C4A #1F2E7B #2B41AC #445CD0 #7587DC

Accessibility & contrast

On white

8.56
#2B41AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B41AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41AC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41AC#FFFFFF#000000##FFFFFF
##2B41AC1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b41ac;
/* rgb */ color: rgb(43, 65, 172);
/* oklch */ color: oklch(42.9% 0.172 268.8);
Tailwind
colors: {
  custom: {
    50: '#7875c6',
    500: '#2b41ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b41ac;
$custom-light: #7875c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41ac",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 229.767,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.17229,
    "h": 268.8
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#2B41AC
secondary
#C4B66F
accent
#C845E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B41AC

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

Preview Lab → · Contrast checker → · Palette generator →

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