#2D41BA#2D41BA

#2D41BA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.3% C 0.190 H 269.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2D41BA
RGBrgb(45, 65, 186)
HSLhsl(231, 61%, 45%)
HSVhsv(231, 76%, 73%)
CMYKcmyk(75.8%, 65.1%, 0%, 27.1%)
CIE-LABlab(33.74, 35.28, -65.76)
CIE-LCHlch(33.74, 74.63, 298.21°)
OKLaboklab(44.28% -0.0021 -0.1902)
OKLCHoklch(44.28% 0.19 269.4)
XYZxyz(11.8324, 7.8824, 47.3427)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D41BA #BAA62D
analogous
#2D88BA #2D41BA #5F2DBA
triadic
#2D41BA #BA2D41 #41BA2D
tetradic
#2D41BA #BA2D88 #BAA62D #2DBA5F
square
#2D41BA #BA2D88 #BAA62D #2DBA5F
split-complementary
#2D41BA #BA5F2D #88BA2D
monochromatic
#151F57 #213089 #2D41BA #5062D5 #818EE0

Accessibility & contrast

On white

8.15
#2D41BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2D41BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D41BA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D41BA#FFFFFF#000000##FFFFFF
##2D41BA1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d41ba;
/* rgb */ color: rgb(45, 65, 186);
/* oklch */ color: oklch(44.3% 0.190 269.4);
Tailwind
colors: {
  custom: {
    50: '#7c75d0',
    500: '#2d41ba',
    950: '#000000',
  },
}
SCSS
$custom: #2d41ba;
$custom-light: #7c75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d41ba",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 231.489,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44276,
    "c": 0.19023,
    "h": 269.4
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#2D41BA
secondary
#C9BE79
accent
#CD44E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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