#2C43AA#2C43AA

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

Color values

HEX#2C43AA
RGBrgb(44, 67, 170)
HSLhsl(229, 59%, 42%)
HSVhsv(229, 74%, 67%)
CMYKcmyk(74.1%, 60.6%, 0%, 33.3%)
CIE-LABlab(32.81, 27.98, -57.78)
CIE-LCHlch(32.81, 64.19, 295.84°)
OKLaboklab(43.16% -0.0039 -0.1668)
OKLCHoklch(43.16% 0.167 268.7)
XYZxyz(10.2991, 7.4510, 38.9178)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C43AA #AA932C
analogous
#2C82AA #2C43AA #542CAA
triadic
#2C43AA #AA2C43 #43AA2C
tetradic
#2C43AA #AA2C82 #AA932C #2CAA54
square
#2C43AA #AA2C82 #AA932C #2CAA54
split-complementary
#2C43AA #AA542C #82AA2C
monochromatic
#131D49 #1F3079 #2C43AA #445ECF #7588DB

Accessibility & contrast

On white

8.43
#2C43AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2C43AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C43AA
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C43AA#FFFFFF#000000##FFFFFF
##2C43AA1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c43aa;
/* rgb */ color: rgb(44, 67, 170);
/* oklch */ color: oklch(43.2% 0.167 268.7);
Tailwind
colors: {
  custom: {
    50: '#7876c4',
    500: '#2c43aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c43aa;
$custom-light: #7876c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c43aa",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 229.048,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43156,
    "c": 0.16687,
    "h": 268.7
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C43AA

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

Preview Lab → · Contrast checker → · Palette generator →

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