#2C41B5#2C41B5

#2C41B5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.184 H 269.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2C41B5
RGBrgb(44, 65, 181)
HSLhsl(231, 61%, 44%)
HSVhsv(231, 76%, 71%)
CMYKcmyk(75.7%, 64.1%, 0%, 29%)
CIE-LABlab(33.25, 33.35, -63.62)
CIE-LCHlch(33.25, 71.83, 297.67°)
OKLaboklab(43.77% -0.0028 -0.184)
OKLCHoklch(43.77% 0.184 269.1)
XYZxyz(11.2666, 7.6510, 44.5901)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C41B5 #B5A02C
analogous
#2C86B5 #2C41B5 #5C2CB5
triadic
#2C41B5 #B52C41 #41B52C
tetradic
#2C41B5 #B52C86 #B5A02C #2CB55C
square
#2C41B5 #B52C86 #B5A02C #2CB55C
split-complementary
#2C41B5 #B55C2C #86B52C
monochromatic
#141E53 #202F84 #2C41B5 #4B60D3 #7C8BDF

Accessibility & contrast

On white

8.30
#2C41B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2C41B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C41B5
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C41B5#FFFFFF#000000##FFFFFF
##2C41B51.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c41b5;
/* rgb */ color: rgb(44, 65, 181);
/* oklch */ color: oklch(43.8% 0.184 269.1);
Tailwind
colors: {
  custom: {
    50: '#7a75cc',
    500: '#2c41b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c41b5;
$custom-light: #7a75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c41b5",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 230.803,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43766,
    "c": 0.18398,
    "h": 269.1
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#2C41B5
secondary
#C8BB75
accent
#CB44E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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