#2D41A4#2D41A4

#2D41A4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.161 H 269.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2D41A4
RGBrgb(45, 65, 164)
HSLhsl(230, 57%, 41%)
HSVhsv(230, 73%, 64%)
CMYKcmyk(72.6%, 60.4%, 0%, 35.7%)
CIE-LABlab(31.85, 27.19, -55.75)
CIE-LCHlch(31.85, 62.02, 296.00°)
OKLaboklab(42.3% -0.0015 -0.1609)
OKLCHoklch(42.3% 0.161 269.5)
XYZxyz(9.6710, 7.0178, 35.9597)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D41A4 #A4902D
analogous
#2D7CA4 #2D41A4 #542DA4
triadic
#2D41A4 #A42D41 #41A42D
tetradic
#2D41A4 #A42D7C #A4902D #2DA454
square
#2D41A4 #A42D7C #A4902D #2DA454
split-complementary
#2D41A4 #A4542D #7CA42D
monochromatic
#131B44 #202E74 #2D41A4 #435ACB #7384D9

Accessibility & contrast

On white

8.74
#2D41A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D41A4
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D41A4#FFFFFF#000000##FFFFFF
##2D41A41.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d41a4;
/* rgb */ color: rgb(45, 65, 164);
/* oklch */ color: oklch(42.3% 0.161 269.5);
Tailwind
colors: {
  custom: {
    50: '#7775c0',
    500: '#2d41a4',
    950: '#000000',
  },
}
SCSS
$custom: #2d41a4;
$custom-light: #7775c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d41a4",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 229.916,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42298,
    "c": 0.16087,
    "h": 269.5
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#2D41A4
secondary
#C0B26D
accent
#C748E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D41A4

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

Preview Lab → · Contrast checker → · Palette generator →

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