#2A41A9#2A41A9

#2A41A9 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.169 H 268.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#2A41A9
RGBrgb(42, 65, 169)
HSLhsl(229, 60%, 41%)
HSVhsv(229, 75%, 66%)
CMYKcmyk(75.1%, 61.5%, 0%, 33.7%)
CIE-LABlab(32.12, 28.68, -58.32)
CIE-LCHlch(32.12, 64.99, 296.19°)
OKLaboklab(42.59% -0.0044 -0.1685)
OKLCHoklch(42.59% 0.169 268.5)
XYZxyz(10.0041, 7.1363, 38.3786)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41A9 #A9922A
analogous
#2A81A9 #2A41A9 #532AA9
triadic
#2A41A9 #A92A41 #41A92A
tetradic
#2A41A9 #A92A81 #A9922A #2AA953
square
#2A41A9 #A92A81 #A9922A #2AA953
split-complementary
#2A41A9 #A9532A #81A92A
monochromatic
#121B47 #1E2E78 #2A41A9 #415AD0 #7285DC

Accessibility & contrast

On white

8.65
#2A41A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2A41A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41A9
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41A9#FFFFFF#000000##FFFFFF
##2A41A91.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a41a9;
/* rgb */ color: rgb(42, 65, 169);
/* oklch */ color: oklch(42.6% 0.169 268.5);
Tailwind
colors: {
  custom: {
    50: '#7775c3',
    500: '#2a41a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a41a9;
$custom-light: #7775c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41a9",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 169
  },
  "hsl": {
    "h": 229.134,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42586,
    "c": 0.16854,
    "h": 268.5
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#2A41A9
secondary
#C3B36C
accent
#C744E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A41A9

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

Preview Lab → · Contrast checker → · Palette generator →

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