#2C409C#2C409C

#2C409C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.151 H 269.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2C409C
RGBrgb(44, 64, 156)
HSLhsl(229, 56%, 39%)
HSVhsv(229, 72%, 61%)
CMYKcmyk(71.8%, 59%, 0%, 38.8%)
CIE-LABlab(30.88, 24.72, -52.49)
CIE-LCHlch(30.88, 58.02, 295.22°)
OKLaboklab(41.36% -0.0018 -0.1513)
OKLCHoklch(41.36% 0.151 269.3)
XYZxyz(8.8708, 6.6017, 32.2528)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C409C #9C882C
analogous
#2C789C #2C409C #502C9C
triadic
#2C409C #9C2C40 #409C2C
tetradic
#2C409C #9C2C78 #9C882C #2C9C50
square
#2C409C #9C2C78 #9C882C #2C9C50
split-complementary
#2C409C #9C502C #789C2C
monochromatic
#11193D #1F2C6C #2C409C #3D56C8 #6D7FD6

Accessibility & contrast

On white

9.05
#2C409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2C409C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C409C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C409C#FFFFFF#000000##FFFFFF
##2C409C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c409c;
/* rgb */ color: rgb(44, 64, 156);
/* oklch */ color: oklch(41.4% 0.151 269.3);
Tailwind
colors: {
  custom: {
    50: '#7474ba',
    500: '#2c409c',
    950: '#000000',
  },
}
SCSS
$custom: #2c409c;
$custom-light: #7474ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c409c",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 229.286,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41362,
    "c": 0.15133,
    "h": 269.3
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#2C409C
secondary
#BDAD67
accent
#C449DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C409C

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

Preview Lab → · Contrast checker → · Palette generator →

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