#2A419B#2A419B

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

Color values

HEX#2A419B
RGBrgb(42, 65, 155)
HSLhsl(228, 57%, 39%)
HSVhsv(228, 73%, 61%)
CMYKcmyk(72.9%, 58.1%, 0%, 39.2%)
CIE-LABlab(30.97, 23.39, -51.75)
CIE-LCHlch(30.97, 56.79, 294.33°)
OKLaboklab(41.37% -0.0046 -0.1492)
OKLCHoklch(41.37% 0.149 268.2)
XYZxyz(8.7595, 6.6385, 31.8237)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A419B #9B842A
analogous
#2A799B #2A419B #4C2A9B
triadic
#2A419B #9B2A41 #419B2A
tetradic
#2A419B #9B2A79 #9B842A #2A9B4C
square
#2A419B #9B2A79 #9B842A #2A9B4C
split-complementary
#2A419B #9B4C2A #799B2A
monochromatic
#10193B #1D2D6B #2A419B #3956C9 #697FD6

Accessibility & contrast

On white

9.02
#2A419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A419B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A419B#FFFFFF#000000##FFFFFF
##2A419B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a419b;
/* rgb */ color: rgb(42, 65, 155);
/* oklch */ color: oklch(41.4% 0.149 268.2);
Tailwind
colors: {
  custom: {
    50: '#7375b9',
    500: '#2a419b',
    950: '#000000',
  },
}
SCSS
$custom: #2a419b;
$custom-light: #7375b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a419b",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 227.788,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41374,
    "c": 0.14924,
    "h": 268.2
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#2A419B
secondary
#BDAB64
accent
#C147E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A419B

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

Preview Lab → · Contrast checker → · Palette generator →

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