#2E43AC#2E43AC

#2E43AC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.169 H 269.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#2E43AC
RGBrgb(46, 67, 172)
HSLhsl(230, 58%, 43%)
HSVhsv(230, 73%, 67%)
CMYKcmyk(73.3%, 61%, 0%, 32.5%)
CIE-LABlab(33.08, 28.97, -58.54)
CIE-LCHlch(33.08, 65.31, 296.33°)
OKLaboklab(43.43% -0.002 -0.169)
OKLCHoklch(43.43% 0.169 269.3)
XYZxyz(10.5777, 7.5726, 39.9259)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E43AC #AC972E
analogous
#2E82AC #2E43AC #582EAC
triadic
#2E43AC #AC2E43 #43AC2E
tetradic
#2E43AC #AC2E82 #AC972E #2EAC58
square
#2E43AC #AC2E82 #AC972E #2EAC58
split-complementary
#2E43AC #AC582E #82AC2E
monochromatic
#141D4B #21307C #2E43AC #495FCE #798ADB

Accessibility & contrast

On white

8.35
#2E43AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2E43AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E43AC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E43AC#FFFFFF#000000##FFFFFF
##2E43AC1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e43ac;
/* rgb */ color: rgb(46, 67, 172);
/* oklch */ color: oklch(43.4% 0.169 269.3);
Tailwind
colors: {
  custom: {
    50: '#7977c6',
    500: '#2e43ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e43ac;
$custom-light: #7977c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e43ac",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 230,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4343,
    "c": 0.16901,
    "h": 269.3
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#2E43AC
secondary
#C3B672
accent
#C747E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E43AC

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

Preview Lab → · Contrast checker → · Palette generator →

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