#2A41AB#2A41AB

#2A41AB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.171 H 268.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#2A41AB
RGBrgb(42, 65, 171)
HSLhsl(229, 61%, 42%)
HSVhsv(229, 75%, 67%)
CMYKcmyk(75.4%, 62%, 0%, 32.9%)
CIE-LABlab(32.28, 29.43, -59.24)
CIE-LCHlch(32.28, 66.15, 296.42°)
OKLaboklab(42.76% -0.0044 -0.1712)
OKLCHoklch(42.76% 0.171 268.5)
XYZxyz(10.1933, 7.2120, 39.3750)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41AB #AB942A
analogous
#2A82AB #2A41AB #542AAB
triadic
#2A41AB #AB2A41 #41AB2A
tetradic
#2A41AB #AB2A82 #AB942A #2AAB54
square
#2A41AB #AB2A82 #AB942A #2AAB54
split-complementary
#2A41AB #AB542A #82AB2A
monochromatic
#121C49 #1E2E7A #2A41AB #425BD1 #7386DD

Accessibility & contrast

On white

8.60
#2A41AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2A41AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41AB
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41AB#FFFFFF#000000##FFFFFF
##2A41AB1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a41ab;
/* rgb */ color: rgb(42, 65, 171);
/* oklch */ color: oklch(42.8% 0.171 268.5);
Tailwind
colors: {
  custom: {
    50: '#7775c5',
    500: '#2a41ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a41ab;
$custom-light: #7775c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41ab",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 229.302,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42764,
    "c": 0.17123,
    "h": 268.5
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#2A41AB
secondary
#C4B46D
accent
#C744E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2A41AB

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

Preview Lab → · Contrast checker → · Palette generator →

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