#2A41A5#2A41A5

#2A41A5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.163 H 268.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2A41A5
RGBrgb(42, 65, 165)
HSLhsl(229, 59%, 41%)
HSVhsv(229, 75%, 65%)
CMYKcmyk(74.5%, 60.6%, 0%, 35.3%)
CIE-LABlab(31.78, 27.18, -56.47)
CIE-LCHlch(31.78, 62.67, 295.70°)
OKLaboklab(42.23% -0.0044 -0.163)
OKLCHoklch(42.23% 0.163 268.5)
XYZxyz(9.6343, 6.9884, 36.4312)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A41A5 #A58E2A
analogous
#2A7FA5 #2A41A5 #502AA5
triadic
#2A41A5 #A52A41 #41A52A
tetradic
#2A41A5 #A52A7F #A58E2A #2AA550
square
#2A41A5 #A52A7F #A58E2A #2AA550
split-complementary
#2A41A5 #A5502A #7FA52A
monochromatic
#111B43 #1E2E74 #2A41A5 #3E59CE #6F83DA

Accessibility & contrast

On white

8.76
#2A41A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2A41A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A41A5
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A41A5#FFFFFF#000000##FFFFFF
##2A41A51.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a41a5;
/* rgb */ color: rgb(42, 65, 165);
/* oklch */ color: oklch(42.2% 0.163 268.5);
Tailwind
colors: {
  custom: {
    50: '#7675c1',
    500: '#2a41a5',
    950: '#000000',
  },
}
SCSS
$custom: #2a41a5;
$custom-light: #7675c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a41a5",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 165
  },
  "hsl": {
    "h": 228.78,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42233,
    "c": 0.16309,
    "h": 268.5
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#2A41A5
secondary
#C1B169
accent
#C545E3
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2A41A5

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

Preview Lab → · Contrast checker → · Palette generator →

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