#2D41B9#2D41B9

#2D41B9 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.189 H 269.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2D41B9
RGBrgb(45, 65, 185)
HSLhsl(231, 61%, 45%)
HSVhsv(231, 76%, 73%)
CMYKcmyk(75.7%, 64.9%, 0%, 27.5%)
CIE-LABlab(33.65, 34.91, -65.32)
CIE-LCHlch(33.65, 74.07, 298.12°)
OKLaboklab(44.18% -0.002 -0.1889)
OKLCHoklch(44.18% 0.189 269.4)
XYZxyz(11.7264, 7.8400, 46.7848)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D41B9 #B9A52D
analogous
#2D87B9 #2D41B9 #5F2DB9
triadic
#2D41B9 #B92D41 #41B92D
tetradic
#2D41B9 #B92D87 #B9A52D #2DB95F
square
#2D41B9 #B92D87 #B9A52D #2DB95F
split-complementary
#2D41B9 #B95F2D #87B92D
monochromatic
#151E57 #213088 #2D41B9 #4F62D4 #808EE0

Accessibility & contrast

On white

8.18
#2D41B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2D41B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D41B9
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D41B9#FFFFFF#000000##FFFFFF
##2D41B91.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d41b9;
/* rgb */ color: rgb(45, 65, 185);
/* oklch */ color: oklch(44.2% 0.189 269.4);
Tailwind
colors: {
  custom: {
    50: '#7c75cf',
    500: '#2d41b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d41b9;
$custom-light: #7c75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d41b9",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 231.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44184,
    "c": 0.18893,
    "h": 269.4
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D41B9

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

Preview Lab → · Contrast checker → · Palette generator →

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