#2C43AB#2C43AB

#2C43AB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.168 H 268.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2C43AB
RGBrgb(44, 67, 171)
HSLhsl(229, 59%, 42%)
HSVhsv(229, 74%, 67%)
CMYKcmyk(74.3%, 60.8%, 0%, 32.9%)
CIE-LABlab(32.90, 28.35, -58.24)
CIE-LCHlch(32.90, 64.77, 295.95°)
OKLaboklab(43.24% -0.0039 -0.1682)
OKLCHoklch(43.24% 0.168 268.7)
XYZxyz(10.3940, 7.4890, 39.4179)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C43AB #AB942C
analogous
#2C83AB #2C43AB #552CAB
triadic
#2C43AB #AB2C43 #43AB2C
tetradic
#2C43AB #AB2C83 #AB942C #2CAB55
square
#2C43AB #AB2C83 #AB942C #2CAB55
split-complementary
#2C43AB #AB552C #83AB2C
monochromatic
#131D4A #1F307A #2C43AB #455ECF #7688DC

Accessibility & contrast

On white

8.41
#2C43AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2C43AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C43AB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C43AB#FFFFFF#000000##FFFFFF
##2C43AB1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c43ab;
/* rgb */ color: rgb(44, 67, 171);
/* oklch */ color: oklch(43.2% 0.168 268.7);
Tailwind
colors: {
  custom: {
    50: '#7876c5',
    500: '#2c43ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c43ab;
$custom-light: #7876c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c43ab",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 229.134,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43243,
    "c": 0.16822,
    "h": 268.7
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#2C43AB
secondary
#C3B46F
accent
#C646E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C43AB

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

Preview Lab → · Contrast checker → · Palette generator →

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