#2A419C#2A419C

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

Color values

HEX#2A419C
RGBrgb(42, 65, 156)
HSLhsl(228, 58%, 39%)
HSVhsv(228, 73%, 61%)
CMYKcmyk(73.1%, 58.3%, 0%, 38.8%)
CIE-LABlab(31.05, 23.77, -52.22)
CIE-LCHlch(31.05, 57.38, 294.48°)
OKLaboklab(41.46% -0.0045 -0.1506)
OKLCHoklch(41.46% 0.151 268.3)
XYZxyz(8.8438, 6.6722, 32.2678)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A419C #9C852A
analogous
#2A7A9C #2A419C #4C2A9C
triadic
#2A419C #9C2A41 #419C2A
tetradic
#2A419C #9C2A7A #9C852A #2A9C4C
square
#2A419C #9C2A7A #9C852A #2A9C4C
split-complementary
#2A419C #9C4C2A #7A9C2A
monochromatic
#10193C #1D2D6C #2A419C #3957CA #6A80D7

Accessibility & contrast

On white

9.00
#2A419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2A419C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A419C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A419C#FFFFFF#000000##FFFFFF
##2A419C1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a419c;
/* rgb */ color: rgb(42, 65, 156);
/* oklch */ color: oklch(41.5% 0.151 268.3);
Tailwind
colors: {
  custom: {
    50: '#7475ba',
    500: '#2a419c',
    950: '#000000',
  },
}
SCSS
$custom: #2a419c;
$custom-light: #7475ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a419c",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 227.895,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41459,
    "c": 0.15064,
    "h": 268.3
  },
  "luminance": 0.06673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A419C

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

Preview Lab → · Contrast checker → · Palette generator →

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