#2A419A#2A419A

#2A419A is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.148 H 268.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2A419A
RGBrgb(42, 65, 154)
HSLhsl(228, 57%, 38%)
HSVhsv(228, 73%, 60%)
CMYKcmyk(72.7%, 57.8%, 0%, 39.6%)
CIE-LABlab(30.89, 23.01, -51.27)
CIE-LCHlch(30.89, 56.20, 294.18°)
OKLaboklab(41.29% -0.0046 -0.1478)
OKLCHoklch(41.29% 0.148 268.2)
XYZxyz(8.6759, 6.6050, 31.3833)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A419A #9A832A
analogous
#2A799A #2A419A #4B2A9A
triadic
#2A419A #9A2A41 #419A2A
tetradic
#2A419A #9A2A79 #9A832A #2A9A4B
square
#2A419A #9A2A79 #9A832A #2A9A4B
split-complementary
#2A419A #9A4B2A #799A2A
monochromatic
#10183A #1D2D6A #2A419A #3856C9 #687FD6

Accessibility & contrast

On white

9.05
#2A419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2A419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A419A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A419A#FFFFFF#000000##FFFFFF
##2A419A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a419a;
/* rgb */ color: rgb(42, 65, 154);
/* oklch */ color: oklch(41.3% 0.148 268.2);
Tailwind
colors: {
  custom: {
    50: '#7375b8',
    500: '#2a419a',
    950: '#000000',
  },
}
SCSS
$custom: #2a419a;
$custom-light: #7375b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a419a",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 227.679,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4129,
    "c": 0.14783,
    "h": 268.2
  },
  "luminance": 0.06606
}

Semantic roles & 50–950 ramp

primary
#2A419A
secondary
#BCAA63
accent
#C147E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A419A

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

Preview Lab → · Contrast checker → · Palette generator →

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