#2C43A4#2C43A4

#2C43A4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.159 H 268.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2C43A4
RGBrgb(44, 67, 164)
HSLhsl(229, 58%, 41%)
HSVhsv(229, 73%, 64%)
CMYKcmyk(73.2%, 59.1%, 0%, 35.7%)
CIE-LABlab(32.32, 25.73, -54.98)
CIE-LCHlch(32.32, 60.70, 295.08°)
OKLaboklab(42.64% -0.004 -0.1586)
OKLCHoklch(42.64% 0.159 268.6)
XYZxyz(9.7444, 7.2291, 35.9966)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C43A4 #A48D2C
analogous
#2C7FA4 #2C43A4 #512CA4
triadic
#2C43A4 #A42C43 #43A42C
tetradic
#2C43A4 #A42C7F #A48D2C #2CA451
square
#2C43A4 #A42C7F #A48D2C #2CA451
split-complementary
#2C43A4 #A4512C #7FA42C
monochromatic
#121C43 #1F2F74 #2C43A4 #415CCC #7185D9

Accessibility & contrast

On white

8.59
#2C43A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2C43A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C43A4
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C43A4#FFFFFF#000000##FFFFFF
##2C43A41.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c43a4;
/* rgb */ color: rgb(44, 67, 164);
/* oklch */ color: oklch(42.6% 0.159 268.6);
Tailwind
colors: {
  custom: {
    50: '#7676c0',
    500: '#2c43a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c43a4;
$custom-light: #7676c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c43a4",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 164
  },
  "hsl": {
    "h": 228.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42638,
    "c": 0.15864,
    "h": 268.6
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#2C43A4
secondary
#C0B06B
accent
#C347E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C43A4

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

Preview Lab → · Contrast checker → · Palette generator →

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