#2C41B8#2C41B8

#2C41B8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.188 H 269.1°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2C41B8
RGBrgb(44, 65, 184)
HSLhsl(231, 61%, 45%)
HSVhsv(231, 76%, 72%)
CMYKcmyk(76.1%, 64.7%, 0%, 27.8%)
CIE-LABlab(33.51, 34.45, -64.96)
CIE-LCHlch(33.51, 73.52, 297.94°)
OKLaboklab(44.04% -0.0029 -0.1879)
OKLCHoklch(44.04% 0.188 269.1)
XYZxyz(11.5778, 7.7755, 46.2287)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C41B8 #B8A32C
analogous
#2C87B8 #2C41B8 #5D2CB8
triadic
#2C41B8 #B82C41 #41B82C
tetradic
#2C41B8 #B82C87 #B8A32C #2CB85D
square
#2C41B8 #B82C87 #B8A32C #2CB85D
split-complementary
#2C41B8 #B85D2C #87B82C
monochromatic
#141E55 #203087 #2C41B8 #4D61D4 #7E8DE0

Accessibility & contrast

On white

8.22
#2C41B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2C41B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C41B8
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C41B8#FFFFFF#000000##FFFFFF
##2C41B81.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0048B6
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c41b8;
/* rgb */ color: rgb(44, 65, 184);
/* oklch */ color: oklch(44.0% 0.188 269.1);
Tailwind
colors: {
  custom: {
    50: '#7b75ce',
    500: '#2c41b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c41b8;
$custom-light: #7b75ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c41b8",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 231,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44043,
    "c": 0.1879,
    "h": 269.1
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#2C41B8
secondary
#C9BD77
accent
#CC43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2C41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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