#2C41B1#2C41B1

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

Color values

HEX#2C41B1
RGBrgb(44, 65, 177)
HSLhsl(231, 60%, 43%)
HSVhsv(231, 75%, 69%)
CMYKcmyk(75.1%, 63.3%, 0%, 30.6%)
CIE-LABlab(32.90, 31.88, -61.81)
CIE-LCHlch(32.90, 69.55, 297.28°)
OKLaboklab(43.4% -0.0026 -0.1787)
OKLCHoklch(43.4% 0.179 269.2)
XYZxyz(10.8621, 7.4892, 42.4596)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C41B1 #B19C2C
analogous
#2C83B1 #2C41B1 #592CB1
triadic
#2C41B1 #B12C41 #41B12C
tetradic
#2C41B1 #B12C83 #B19C2C #2CB159
square
#2C41B1 #B12C83 #B19C2C #2CB159
split-complementary
#2C41B1 #B1592C #83B12C
monochromatic
#141D4F #202F80 #2C41B1 #495ED2 #7A89DE

Accessibility & contrast

On white

8.41
#2C41B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2C41B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C41B1
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C41B1#FFFFFF#000000##FFFFFF
##2C41B11.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c41b1;
/* rgb */ color: rgb(44, 65, 177);
/* oklch */ color: oklch(43.4% 0.179 269.2);
Tailwind
colors: {
  custom: {
    50: '#7975c9',
    500: '#2c41b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c41b1;
$custom-light: #7975c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c41b1",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 230.526,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43401,
    "c": 0.1787,
    "h": 269.2
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#2C41B1
secondary
#C6B973
accent
#CA44E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C41B1

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

Preview Lab → · Contrast checker → · Palette generator →

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