#2C409E#2C409E

#2C409E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.154 H 269.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2C409E
RGBrgb(44, 64, 158)
HSLhsl(229, 56%, 40%)
HSVhsv(229, 72%, 62%)
CMYKcmyk(72.2%, 59.5%, 0%, 38%)
CIE-LABlab(31.04, 25.47, -53.44)
CIE-LCHlch(31.04, 59.20, 295.49°)
OKLaboklab(41.53% -0.0017 -0.1541)
OKLCHoklch(41.53% 0.154 269.3)
XYZxyz(9.0415, 6.6700, 33.1521)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C409E #9E8A2C
analogous
#2C799E #2C409E #512C9E
triadic
#2C409E #9E2C40 #409E2C
tetradic
#2C409E #9E2C79 #9E8A2C #2C9E51
square
#2C409E #9E2C79 #9E8A2C #2C9E51
split-complementary
#2C409E #9E512C #799E2C
monochromatic
#11193E #1F2D6E #2C409E #3E56C9 #6E80D7

Accessibility & contrast

On white

9.00
#2C409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2C409E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C409E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C409E#FFFFFF#000000##FFFFFF
##2C409E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c409e;
/* rgb */ color: rgb(44, 64, 158);
/* oklch */ color: oklch(41.5% 0.154 269.3);
Tailwind
colors: {
  custom: {
    50: '#7574bb',
    500: '#2c409e',
    950: '#000000',
  },
}
SCSS
$custom: #2c409e;
$custom-light: #7574bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c409e",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 229.474,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41533,
    "c": 0.15413,
    "h": 269.3
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#2C409E
secondary
#BEAF68
accent
#C548E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C409E

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

Preview Lab → · Contrast checker → · Palette generator →

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