#2C419E#2C419E

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

Color values

HEX#2C419E
RGBrgb(44, 65, 158)
HSLhsl(229, 56%, 40%)
HSVhsv(229, 72%, 62%)
CMYKcmyk(72.2%, 58.9%, 0%, 38%)
CIE-LABlab(31.31, 24.80, -53.01)
CIE-LCHlch(31.31, 58.52, 295.08°)
OKLaboklab(41.73% -0.0025 -0.1528)
OKLCHoklch(41.73% 0.153 269)
XYZxyz(9.0984, 6.7838, 33.1710)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C419E #9E892C
analogous
#2C7A9E #2C419E #502C9E
triadic
#2C419E #9E2C41 #419E2C
tetradic
#2C419E #9E2C7A #9E892C #2C9E50
square
#2C419E #9E2C7A #9E892C #2C9E50
split-complementary
#2C419E #9E502C #7A9E2C
monochromatic
#111A3E #1F2D6E #2C419E #3E58C9 #6E81D7

Accessibility & contrast

On white

8.91
#2C419E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2C419E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C419E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C419E#FFFFFF#000000##FFFFFF
##2C419E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c419e;
/* rgb */ color: rgb(44, 65, 158);
/* oklch */ color: oklch(41.7% 0.153 269.0);
Tailwind
colors: {
  custom: {
    50: '#7575bb',
    500: '#2c419e',
    950: '#000000',
  },
}
SCSS
$custom: #2c419e;
$custom-light: #7575bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c419e",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 158
  },
  "hsl": {
    "h": 228.947,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41731,
    "c": 0.15285,
    "h": 269
  },
  "luminance": 0.06785
}

Semantic roles & 50–950 ramp

primary
#2C419E
secondary
#BEAE68
accent
#C448E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C419E

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

Preview Lab → · Contrast checker → · Palette generator →

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