#2A41AD#2A41AD

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

Color values

HEX#2A41AD
RGBrgb(42, 65, 173)
HSLhsl(229, 61%, 42%)
HSVhsv(229, 76%, 68%)
CMYKcmyk(75.7%, 62.4%, 0%, 32.2%)
CIE-LABlab(32.46, 30.18, -60.16)
CIE-LCHlch(32.46, 67.30, 296.64°)
OKLaboklab(42.94% -0.0044 -0.1739)
OKLCHoklch(42.94% 0.174 268.5)
XYZxyz(10.3854, 7.2888, 40.3866)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41AD #AD962A
analogous
#2A82AD #2A41AD #552AAD
triadic
#2A41AD #AD2A41 #41AD2A
tetradic
#2A41AD #AD2A82 #AD962A #2AAD55
square
#2A41AD #AD2A82 #AD962A #2AAD55
split-complementary
#2A41AD #AD552A #82AD2A
monochromatic
#121C4B #1E2E7C #2A41AD #435CD1 #7487DD

Accessibility & contrast

On white

8.54
#2A41AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2A41AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41AD
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41AD#FFFFFF#000000##FFFFFF
##2A41AD1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a41ad;
/* rgb */ color: rgb(42, 65, 173);
/* oklch */ color: oklch(42.9% 0.174 268.5);
Tailwind
colors: {
  custom: {
    50: '#7875c6',
    500: '#2a41ad',
    950: '#000000',
  },
}
SCSS
$custom: #2a41ad;
$custom-light: #7875c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41ad",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 173
  },
  "hsl": {
    "h": 229.466,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42944,
    "c": 0.17392,
    "h": 268.5
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#2A41AD
secondary
#C5B66E
accent
#C844E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A41AD

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

Preview Lab → · Contrast checker → · Palette generator →

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