#2D41B2#2D41B2

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

Color values

HEX#2D41B2
RGBrgb(45, 65, 178)
HSLhsl(231, 60%, 44%)
HSVhsv(231, 75%, 70%)
CMYKcmyk(74.7%, 63.5%, 0%, 30.2%)
CIE-LABlab(33.03, 32.36, -62.18)
CIE-LCHlch(33.03, 70.10, 297.49°)
OKLaboklab(43.54% -0.0017 -0.1797)
OKLCHoklch(43.54% 0.18 269.5)
XYZxyz(11.0056, 7.5517, 42.9884)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D41B2 #B29E2D
analogous
#2D83B2 #2D41B2 #5B2DB2
triadic
#2D41B2 #B22D41 #41B22D
tetradic
#2D41B2 #B22D83 #B29E2D #2DB25B
square
#2D41B2 #B22D83 #B29E2D #2DB25B
split-complementary
#2D41B2 #B25B2D #83B22D
monochromatic
#141D50 #212F81 #2D41B2 #4B5FD1 #7C8ADE

Accessibility & contrast

On white

8.36
#2D41B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2D41B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D41B2
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D41B2#FFFFFF#000000##FFFFFF
##2D41B21.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d41b2;
/* rgb */ color: rgb(45, 65, 178);
/* oklch */ color: oklch(43.5% 0.180 269.5);
Tailwind
colors: {
  custom: {
    50: '#7a75ca',
    500: '#2d41b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d41b2;
$custom-light: #7a75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d41b2",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 230.977,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43541,
    "c": 0.17975,
    "h": 269.5
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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