#2A419F#2A419F

#2A419F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.155 H 268.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2A419F
RGBrgb(42, 65, 159)
HSLhsl(228, 58%, 39%)
HSVhsv(228, 74%, 62%)
CMYKcmyk(73.6%, 59.1%, 0%, 37.6%)
CIE-LABlab(31.29, 24.91, -53.65)
CIE-LCHlch(31.29, 59.15, 294.91°)
OKLaboklab(41.71% -0.0045 -0.1548)
OKLCHoklch(41.71% 0.155 268.3)
XYZxyz(9.1010, 6.7751, 33.6222)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A419F #9F882A
analogous
#2A7C9F #2A419F #4E2A9F
triadic
#2A419F #9F2A41 #419F2A
tetradic
#2A419F #9F2A7C #9F882A #2A9F4E
square
#2A419F #9F2A7C #9F882A #2A9F4E
split-complementary
#2A419F #9F4E2A #7C9F2A
monochromatic
#10193E #1D2D6F #2A419F #3B57CB #6B81D8

Accessibility & contrast

On white

8.92
#2A419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2A419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A419F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A419F#FFFFFF#000000##FFFFFF
##2A419F1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a419f;
/* rgb */ color: rgb(42, 65, 159);
/* oklch */ color: oklch(41.7% 0.155 268.3);
Tailwind
colors: {
  custom: {
    50: '#7475bc',
    500: '#2a419f',
    950: '#000000',
  },
}
SCSS
$custom: #2a419f;
$custom-light: #7475bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a419f",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 228.205,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.15482,
    "h": 268.3
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#2A419F
secondary
#BFAD66
accent
#C346E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A419F

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

Preview Lab → · Contrast checker → · Palette generator →

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