#2D41AC#2D41AC

#2D41AC is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.172 H 269.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2D41AC
RGBrgb(45, 65, 172)
HSLhsl(231, 59%, 43%)
HSVhsv(231, 74%, 67%)
CMYKcmyk(73.8%, 62.2%, 0%, 32.5%)
CIE-LABlab(32.52, 30.16, -59.45)
CIE-LCHlch(32.52, 66.66, 296.89°)
OKLaboklab(43% -0.0015 -0.1717)
OKLCHoklch(43% 0.172 269.5)
XYZxyz(10.4163, 7.3159, 39.8849)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D41AC #AC982D
analogous
#2D81AC #2D41AC #582DAC
triadic
#2D41AC #AC2D41 #41AC2D
tetradic
#2D41AC #AC2D81 #AC982D #2DAC58
square
#2D41AC #AC2D81 #AC982D #2DAC58
split-complementary
#2D41AC #AC582D #81AC2D
monochromatic
#141C4B #202F7B #2D41AC #475DCF #7888DC

Accessibility & contrast

On white

8.52
#2D41AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2D41AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D41AC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D41AC#FFFFFF#000000##FFFFFF
##2D41AC1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d41ac;
/* rgb */ color: rgb(45, 65, 172);
/* oklch */ color: oklch(43.0% 0.172 269.5);
Tailwind
colors: {
  custom: {
    50: '#7975c6',
    500: '#2d41ac',
    950: '#000000',
  },
}
SCSS
$custom: #2d41ac;
$custom-light: #7975c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d41ac",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 230.551,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43001,
    "c": 0.17175,
    "h": 269.5
  },
  "luminance": 0.07317
}

Semantic roles & 50–950 ramp

primary
#2D41AC
secondary
#C4B771
accent
#C946E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2D41AC

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

Preview Lab → · Contrast checker → · Palette generator →

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