#2D41B0#2D41B0

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

Color values

HEX#2D41B0
RGBrgb(45, 65, 176)
HSLhsl(231, 59%, 43%)
HSVhsv(231, 74%, 69%)
CMYKcmyk(74.4%, 63.1%, 0%, 31%)
CIE-LABlab(32.86, 31.63, -61.28)
CIE-LCHlch(32.86, 68.96, 297.30°)
OKLaboklab(43.36% -0.0016 -0.1771)
OKLCHoklch(43.36% 0.177 269.5)
XYZxyz(10.8063, 7.4719, 41.9386)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D41B0 #B09C2D
analogous
#2D82B0 #2D41B0 #5A2DB0
triadic
#2D41B0 #B02D41 #41B02D
tetradic
#2D41B0 #B02D82 #B09C2D #2DB05A
square
#2D41B0 #B02D82 #B09C2D #2DB05A
split-complementary
#2D41B0 #B05A2D #82B02D
monochromatic
#141D4F #212F7F #2D41B0 #4A5ED1 #7A89DD

Accessibility & contrast

On white

8.42
#2D41B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2D41B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D41B0
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D41B0#FFFFFF#000000##FFFFFF
##2D41B01.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d41b0;
/* rgb */ color: rgb(45, 65, 176);
/* oklch */ color: oklch(43.4% 0.177 269.5);
Tailwind
colors: {
  custom: {
    50: '#7975c9',
    500: '#2d41b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d41b0;
$custom-light: #7975c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d41b0",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 230.84,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4336,
    "c": 0.1771,
    "h": 269.5
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#2D41B0
secondary
#C5B973
accent
#CA45E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2D41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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