#2C41B3#2C41B3

#2C41B3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.181 H 269.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2C41B3
RGBrgb(44, 65, 179)
HSLhsl(231, 61%, 44%)
HSVhsv(231, 75%, 70%)
CMYKcmyk(75.4%, 63.7%, 0%, 29.8%)
CIE-LABlab(33.07, 32.62, -62.72)
CIE-LCHlch(33.07, 70.69, 297.48°)
OKLaboklab(43.58% -0.0027 -0.1813)
OKLCHoklch(43.58% 0.181 269.1)
XYZxyz(11.0629, 7.5695, 43.5171)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C41B3 #B39E2C
analogous
#2C84B3 #2C41B3 #5A2CB3
triadic
#2C41B3 #B32C41 #41B32C
tetradic
#2C41B3 #B32C84 #B39E2C #2CB35A
square
#2C41B3 #B32C84 #B39E2C #2CB35A
split-complementary
#2C41B3 #B35A2C #84B32C
monochromatic
#141D51 #202F82 #2C41B3 #4A5FD2 #7B8ADF

Accessibility & contrast

On white

8.35
#2C41B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2C41B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C41B3
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C41B3#FFFFFF#000000##FFFFFF
##2C41B31.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c41b3;
/* rgb */ color: rgb(44, 65, 179);
/* oklch */ color: oklch(43.6% 0.181 269.1);
Tailwind
colors: {
  custom: {
    50: '#7a75cb',
    500: '#2c41b3',
    950: '#000000',
  },
}
SCSS
$custom: #2c41b3;
$custom-light: #7a75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c41b3",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 230.667,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43583,
    "c": 0.18134,
    "h": 269.1
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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