#2A41AA#2A41AA

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

Color values

HEX#2A41AA
RGBrgb(42, 65, 170)
HSLhsl(229, 60%, 42%)
HSVhsv(229, 75%, 67%)
CMYKcmyk(75.3%, 61.8%, 0%, 33.3%)
CIE-LABlab(32.20, 29.06, -58.78)
CIE-LCHlch(32.20, 65.57, 296.30°)
OKLaboklab(42.68% -0.0044 -0.1698)
OKLCHoklch(42.68% 0.17 268.5)
XYZxyz(10.0983, 7.1740, 38.8749)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41AA #AA932A
analogous
#2A81AA #2A41AA #532AAA
triadic
#2A41AA #AA2A41 #41AA2A
tetradic
#2A41AA #AA2A81 #AA932A #2AAA53
square
#2A41AA #AA2A81 #AA932A #2AAA53
split-complementary
#2A41AA #AA532A #81AA2A
monochromatic
#121B48 #1E2E79 #2A41AA #415BD0 #7285DC

Accessibility & contrast

On white

8.62
#2A41AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2A41AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41AA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41AA#FFFFFF#000000##FFFFFF
##2A41AA1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.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: #2a41aa;
/* rgb */ color: rgb(42, 65, 170);
/* oklch */ color: oklch(42.7% 0.170 268.5);
Tailwind
colors: {
  custom: {
    50: '#7775c4',
    500: '#2a41aa',
    950: '#000000',
  },
}
SCSS
$custom: #2a41aa;
$custom-light: #7775c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41aa",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 229.219,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42675,
    "c": 0.16989,
    "h": 268.5
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#2A41AA
secondary
#C3B46C
accent
#C744E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A41AA

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

Preview Lab → · Contrast checker → · Palette generator →

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