#2A419D#2A419D

#2A419D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.152 H 268.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2A419D
RGBrgb(42, 65, 157)
HSLhsl(228, 58%, 39%)
HSVhsv(228, 73%, 62%)
CMYKcmyk(73.2%, 58.6%, 0%, 38.4%)
CIE-LABlab(31.13, 24.15, -52.70)
CIE-LCHlch(31.13, 57.97, 294.62°)
OKLaboklab(41.54% -0.0045 -0.152)
OKLCHoklch(41.54% 0.152 268.3)
XYZxyz(8.9288, 6.7062, 32.7156)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A419D #9D862A
analogous
#2A7B9D #2A419D #4D2A9D
triadic
#2A419D #9D2A41 #419D2A
tetradic
#2A419D #9D2A7B #9D862A #2A9D4D
square
#2A419D #9D2A7B #9D862A #2A9D4D
split-complementary
#2A419D #9D4D2A #7B9D2A
monochromatic
#10193C #1D2D6D #2A419D #3A57CA #6A80D7

Accessibility & contrast

On white

8.97
#2A419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A419D
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A419D#FFFFFF#000000##FFFFFF
##2A419D1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a419d;
/* rgb */ color: rgb(42, 65, 157);
/* oklch */ color: oklch(41.5% 0.152 268.3);
Tailwind
colors: {
  custom: {
    50: '#7475bb',
    500: '#2a419d',
    950: '#000000',
  },
}
SCSS
$custom: #2a419d;
$custom-light: #7475bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a419d",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 228,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41543,
    "c": 0.15204,
    "h": 268.3
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#2A419D
secondary
#BEAC65
accent
#C247E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A419D

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

Preview Lab → · Contrast checker → · Palette generator →

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