#2D41B6#2D41B6

#2D41B6 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.185 H 269.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2D41B6
RGBrgb(45, 65, 182)
HSLhsl(231, 60%, 45%)
HSVhsv(231, 75%, 71%)
CMYKcmyk(75.3%, 64.3%, 0%, 28.6%)
CIE-LABlab(33.38, 33.82, -63.98)
CIE-LCHlch(33.38, 72.37, 297.86°)
OKLaboklab(43.91% -0.0019 -0.185)
OKLCHoklch(43.91% 0.185 269.4)
XYZxyz(11.4131, 7.7147, 45.1345)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D41B6 #B6A22D
analogous
#2D86B6 #2D41B6 #5E2DB6
triadic
#2D41B6 #B62D41 #41B62D
tetradic
#2D41B6 #B62D86 #B6A22D #2DB65E
square
#2D41B6 #B62D86 #B6A22D #2DB65E
split-complementary
#2D41B6 #B65E2D #86B62D
monochromatic
#151E54 #212F85 #2D41B6 #4D61D3 #7E8CDF

Accessibility & contrast

On white

8.26
#2D41B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2D41B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D41B6
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D41B6#FFFFFF#000000##FFFFFF
##2D41B61.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d41b6;
/* rgb */ color: rgb(45, 65, 182);
/* oklch */ color: oklch(43.9% 0.185 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b75cd',
    500: '#2d41b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d41b6;
$custom-light: #7b75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d41b6",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 182
  },
  "hsl": {
    "h": 231.241,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43907,
    "c": 0.18502,
    "h": 269.4
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#2D41B6
secondary
#C8BC77
accent
#CC44E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2D41B6

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

Preview Lab → · Contrast checker → · Palette generator →

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