#2C41A9#2C41A9

#2C41A9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.168 H 269.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2C41A9
RGBrgb(44, 65, 169)
HSLhsl(230, 59%, 42%)
HSVhsv(230, 74%, 66%)
CMYKcmyk(74%, 61.5%, 0%, 33.7%)
CIE-LABlab(32.21, 28.92, -58.16)
CIE-LCHlch(32.21, 64.95, 296.44°)
OKLaboklab(42.68% -0.0025 -0.168)
OKLCHoklch(42.68% 0.168 269.2)
XYZxyz(10.0880, 7.1796, 38.3826)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C41A9 #A9942C
analogous
#2C80A9 #2C41A9 #562CA9
triadic
#2C41A9 #A92C41 #41A92C
tetradic
#2C41A9 #A92C80 #A9942C #2CA956
square
#2C41A9 #A92C80 #A9942C #2CA956
split-complementary
#2C41A9 #A9562C #80A92C
monochromatic
#131C48 #1F2E78 #2C41A9 #445BCE #7486DB

Accessibility & contrast

On white

8.62
#2C41A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2C41A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C41A9
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C41A9#FFFFFF#000000##FFFFFF
##2C41A91.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c41a9;
/* rgb */ color: rgb(44, 65, 169);
/* oklch */ color: oklch(42.7% 0.168 269.2);
Tailwind
colors: {
  custom: {
    50: '#7775c3',
    500: '#2c41a9',
    950: '#000000',
  },
}
SCSS
$custom: #2c41a9;
$custom-light: #7775c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c41a9",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 169
  },
  "hsl": {
    "h": 229.92,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42684,
    "c": 0.16798,
    "h": 269.2
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#2C41A9
secondary
#C3B46E
accent
#C846E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C41A9

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

Preview Lab → · Contrast checker → · Palette generator →

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