#2D41B1#2D41B1

#2D41B1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.178 H 269.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2D41B1
RGBrgb(45, 65, 177)
HSLhsl(231, 59%, 44%)
HSVhsv(231, 75%, 69%)
CMYKcmyk(74.6%, 63.3%, 0%, 30.6%)
CIE-LABlab(32.94, 32.00, -61.73)
CIE-LCHlch(32.94, 69.53, 297.40°)
OKLaboklab(43.45% -0.0017 -0.1784)
OKLCHoklch(43.45% 0.178 269.5)
XYZxyz(10.9056, 7.5116, 42.4616)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D41B1 #B19D2D
analogous
#2D83B1 #2D41B1 #5B2DB1
triadic
#2D41B1 #B12D41 #41B12D
tetradic
#2D41B1 #B12D83 #B19D2D #2DB15B
square
#2D41B1 #B12D83 #B19D2D #2DB15B
split-complementary
#2D41B1 #B15B2D #83B12D
monochromatic
#141D4F #212F80 #2D41B1 #4A5FD1 #7B8ADD

Accessibility & contrast

On white

8.39
#2D41B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2D41B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D41B1
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D41B1#FFFFFF#000000##FFFFFF
##2D41B11.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d41b1;
/* rgb */ color: rgb(45, 65, 177);
/* oklch */ color: oklch(43.5% 0.178 269.5);
Tailwind
colors: {
  custom: {
    50: '#7a75c9',
    500: '#2d41b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d41b1;
$custom-light: #7a75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d41b1",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 230.909,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4345,
    "c": 0.17843,
    "h": 269.5
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#2D41B1
secondary
#C6B974
accent
#CB45E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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