#2C419B#2C419B

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

Color values

HEX#2C419B
RGBrgb(44, 65, 155)
HSLhsl(229, 56%, 39%)
HSVhsv(229, 72%, 61%)
CMYKcmyk(71.6%, 58.1%, 0%, 39.2%)
CIE-LABlab(31.07, 23.67, -51.58)
CIE-LCHlch(31.07, 56.75, 294.66°)
OKLaboklab(41.48% -0.0026 -0.1486)
OKLCHoklch(41.48% 0.149 269)
XYZxyz(8.8434, 6.6817, 31.8276)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C419B #9B862C
analogous
#2C799B #2C419B #4F2C9B
triadic
#2C419B #9B2C41 #419B2C
tetradic
#2C419B #9B2C79 #9B862C #2C9B4F
square
#2C419B #9B2C79 #9B862C #2C9B4F
split-complementary
#2C419B #9B4F2C #799B2C
monochromatic
#11193C #1E2D6B #2C419B #3C57C8 #6C80D5

Accessibility & contrast

On white

8.99
#2C419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2C419B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C419B
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C419B#FFFFFF#000000##FFFFFF
##2C419B1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c419b;
/* rgb */ color: rgb(44, 65, 155);
/* oklch */ color: oklch(41.5% 0.149 269.0);
Tailwind
colors: {
  custom: {
    50: '#7475b9',
    500: '#2c419b',
    950: '#000000',
  },
}
SCSS
$custom: #2c419b;
$custom-light: #7475b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c419b",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 228.649,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41478,
    "c": 0.14865,
    "h": 269
  },
  "luminance": 0.06683
}

Semantic roles & 50–950 ramp

primary
#2C419B
secondary
#BCAC67
accent
#C349DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C419B

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

Preview Lab → · Contrast checker → · Palette generator →

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