#2B41AA#2B41AA

#2B41AA is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.170 H 268.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2B41AA
RGBrgb(43, 65, 170)
HSLhsl(230, 60%, 42%)
HSVhsv(230, 75%, 67%)
CMYKcmyk(74.7%, 61.8%, 0%, 33.3%)
CIE-LABlab(32.25, 29.17, -58.70)
CIE-LCHlch(32.25, 65.55, 296.43°)
OKLaboklab(42.72% -0.0034 -0.1696)
OKLCHoklch(42.72% 0.17 268.8)
XYZxyz(10.1398, 7.1954, 38.8769)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B41AA #AA942B
analogous
#2B81AA #2B41AA #552BAA
triadic
#2B41AA #AA2B41 #41AA2B
tetradic
#2B41AA #AA2B81 #AA942B #2BAA55
square
#2B41AA #AA2B81 #AA942B #2BAA55
split-complementary
#2B41AA #AA552B #81AA2B
monochromatic
#121C48 #1F2E79 #2B41AA #435BCF #7486DC

Accessibility & contrast

On white

8.61
#2B41AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2B41AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B41AA
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B41AA#FFFFFF#000000##FFFFFF
##2B41AA1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b41aa;
/* rgb */ color: rgb(43, 65, 170);
/* oklch */ color: oklch(42.7% 0.170 268.8);
Tailwind
colors: {
  custom: {
    50: '#7775c4',
    500: '#2b41aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b41aa;
$custom-light: #7775c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b41aa",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 229.606,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42723,
    "c": 0.1696,
    "h": 268.8
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#2B41AA
secondary
#C3B46E
accent
#C745E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2B41AA

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

Preview Lab → · Contrast checker → · Palette generator →

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