#2A419E#2A419E

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

Color values

HEX#2A419E
RGBrgb(42, 65, 158)
HSLhsl(228, 58%, 39%)
HSVhsv(228, 73%, 62%)
CMYKcmyk(73.4%, 58.9%, 0%, 38%)
CIE-LABlab(31.21, 24.53, -53.17)
CIE-LCHlch(31.21, 58.56, 294.77°)
OKLaboklab(41.63% -0.0045 -0.1534)
OKLCHoklch(41.63% 0.153 268.3)
XYZxyz(9.0146, 6.7405, 33.1671)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A419E #9E872A
analogous
#2A7B9E #2A419E #4D2A9E
triadic
#2A419E #9E2A41 #419E2A
tetradic
#2A419E #9E2A7B #9E872A #2A9E4D
square
#2A419E #9E2A7B #9E872A #2A9E4D
split-complementary
#2A419E #9E4D2A #7B9E2A
monochromatic
#10193D #1D2D6E #2A419E #3A57CB #6B80D8

Accessibility & contrast

On white

8.94
#2A419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2A419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A419E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A419E#FFFFFF#000000##FFFFFF
##2A419E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a419e;
/* rgb */ color: rgb(42, 65, 158);
/* oklch */ color: oklch(41.6% 0.153 268.3);
Tailwind
colors: {
  custom: {
    50: '#7475bb',
    500: '#2a419e',
    950: '#000000',
  },
}
SCSS
$custom: #2a419e;
$custom-light: #7475bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a419e",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 228.103,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41628,
    "c": 0.15344,
    "h": 268.3
  },
  "luminance": 0.06741
}

Semantic roles & 50–950 ramp

primary
#2A419E
secondary
#BEAD66
accent
#C347E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A419E

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

Preview Lab → · Contrast checker → · Palette generator →

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