#2D41A3#2D41A3

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

Color values

HEX#2D41A3
RGBrgb(45, 65, 163)
HSLhsl(230, 57%, 41%)
HSVhsv(230, 72%, 64%)
CMYKcmyk(72.4%, 60.1%, 0%, 36.1%)
CIE-LABlab(31.77, 26.81, -55.28)
CIE-LCHlch(31.77, 61.44, 295.88°)
OKLaboklab(42.21% -0.0015 -0.1595)
OKLCHoklch(42.21% 0.16 269.5)
XYZxyz(9.5811, 6.9818, 35.4859)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D41A3 #A38F2D
analogous
#2D7CA3 #2D41A3 #542DA3
triadic
#2D41A3 #A32D41 #41A32D
tetradic
#2D41A3 #A32D7C #A38F2D #2DA354
square
#2D41A3 #A32D7C #A38F2D #2DA354
split-complementary
#2D41A3 #A3542D #7CA32D
monochromatic
#131B43 #202E73 #2D41A3 #4259CB #7284D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D41A3#FFFFFF#000000##FFFFFF
##2D41A31.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)
#0050A6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d41a3;
/* rgb */ color: rgb(45, 65, 163);
/* oklch */ color: oklch(42.2% 0.160 269.5);
Tailwind
colors: {
  custom: {
    50: '#7675bf',
    500: '#2d41a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d41a3;
$custom-light: #7675bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d41a3",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 163
  },
  "hsl": {
    "h": 229.831,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42212,
    "c": 0.1595,
    "h": 269.5
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

primary
#2D41A3
secondary
#C0B16C
accent
#C648E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2D41A3

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

Preview Lab → · Contrast checker → · Palette generator →

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