#2C419D#2C419D

#2C419D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.151 H 269.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2C419D
RGBrgb(44, 65, 157)
HSLhsl(229, 56%, 39%)
HSVhsv(229, 72%, 62%)
CMYKcmyk(72%, 58.6%, 0%, 38.4%)
CIE-LABlab(31.23, 24.43, -52.53)
CIE-LCHlch(31.23, 57.93, 294.94°)
OKLaboklab(41.65% -0.0026 -0.1514)
OKLCHoklch(41.65% 0.151 269)
XYZxyz(9.0127, 6.7495, 32.7195)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C419D #9D882C
analogous
#2C799D #2C419D #502C9D
triadic
#2C419D #9D2C41 #419D2C
tetradic
#2C419D #9D2C79 #9D882C #2C9D50
square
#2C419D #9D2C79 #9D882C #2C9D50
split-complementary
#2C419D #9D502C #799D2C
monochromatic
#11193D #1F2D6D #2C419D #3D57C9 #6D81D6

Accessibility & contrast

On white

8.94
#2C419D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C419D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C419D
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C419D#FFFFFF#000000##FFFFFF
##2C419D1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c419d;
/* rgb */ color: rgb(44, 65, 157);
/* oklch */ color: oklch(41.6% 0.151 269.0);
Tailwind
colors: {
  custom: {
    50: '#7575bb',
    500: '#2c419d',
    950: '#000000',
  },
}
SCSS
$custom: #2c419d;
$custom-light: #7575bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c419d",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 157
  },
  "hsl": {
    "h": 228.85,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41646,
    "c": 0.15145,
    "h": 269
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#2C419D
secondary
#BDAD68
accent
#C348E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C419D

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

Preview Lab → · Contrast checker → · Palette generator →

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