#2C41A1#2C41A1

#2C41A1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.157 H 269.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2C41A1
RGBrgb(44, 65, 161)
HSLhsl(229, 57%, 40%)
HSVhsv(229, 73%, 63%)
CMYKcmyk(72.7%, 59.6%, 0%, 36.9%)
CIE-LABlab(31.55, 25.93, -54.43)
CIE-LCHlch(31.55, 60.29, 295.48°)
OKLaboklab(41.99% -0.0025 -0.157)
OKLCHoklch(41.99% 0.157 269.1)
XYZxyz(9.3598, 6.8883, 34.5476)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C41A1 #A18C2C
analogous
#2C7BA1 #2C41A1 #522CA1
triadic
#2C41A1 #A12C41 #41A12C
tetradic
#2C41A1 #A12C7B #A18C2C #2CA152
square
#2C41A1 #A12C7B #A18C2C #2CA152
split-complementary
#2C41A1 #A1522C #7BA12C
monochromatic
#121A41 #1F2E71 #2C41A1 #4059CB #7082D8

Accessibility & contrast

On white

8.83
#2C41A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C41A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C41A1
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C41A1#FFFFFF#000000##FFFFFF
##2C41A11.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c41a1;
/* rgb */ color: rgb(44, 65, 161);
/* oklch */ color: oklch(42.0% 0.157 269.1);
Tailwind
colors: {
  custom: {
    50: '#7675be',
    500: '#2c41a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c41a1;
$custom-light: #7675be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c41a1",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 161
  },
  "hsl": {
    "h": 229.231,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.15702,
    "h": 269.1
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#2C41A1
secondary
#BFB06A
accent
#C547E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C41A1

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

Preview Lab → · Contrast checker → · Palette generator →

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