#2C41B6#2C41B6

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

Color values

HEX#2C41B6
RGBrgb(44, 65, 182)
HSLhsl(231, 61%, 44%)
HSVhsv(231, 76%, 71%)
CMYKcmyk(75.8%, 64.3%, 0%, 28.6%)
CIE-LABlab(33.33, 33.72, -64.06)
CIE-LCHlch(33.33, 72.39, 297.76°)
OKLaboklab(43.86% -0.0028 -0.1853)
OKLCHoklch(43.86% 0.185 269.1)
XYZxyz(11.3696, 7.6922, 45.1324)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C41B6 #B6A12C
analogous
#2C86B6 #2C41B6 #5C2CB6
triadic
#2C41B6 #B62C41 #41B62C
tetradic
#2C41B6 #B62C86 #B6A12C #2CB65C
square
#2C41B6 #B62C86 #B6A12C #2CB65C
split-complementary
#2C41B6 #B65C2C #86B62C
monochromatic
#141E53 #202F85 #2C41B6 #4C60D4 #7D8CE0

Accessibility & contrast

On white

8.27
#2C41B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2C41B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C41B6
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C41B6#FFFFFF#000000##FFFFFF
##2C41B61.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c41b6;
/* rgb */ color: rgb(44, 65, 182);
/* oklch */ color: oklch(43.9% 0.185 269.1);
Tailwind
colors: {
  custom: {
    50: '#7b75cd',
    500: '#2c41b6',
    950: '#000000',
  },
}
SCSS
$custom: #2c41b6;
$custom-light: #7b75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c41b6",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 182
  },
  "hsl": {
    "h": 230.87,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43858,
    "c": 0.18529,
    "h": 269.1
  },
  "luminance": 0.07693
}

Semantic roles & 50–950 ramp

primary
#2C41B6
secondary
#C8BB76
accent
#CC44E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2C41B6

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

Preview Lab → · Contrast checker → · Palette generator →

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